UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
来源:互联网 发布:希拉里 国务卿知乎 编辑:程序博客网 时间:2024/04/20 06:22
- UITextAlignmentCenter is deprecated first deprecated in iOS 60 UITextAlignmentCenter
- 解决办法
UITextAlignmentCenter’ is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
这个⚠️,主要意思iOS 6.0之后被弃用了。但还是可以用的。只是有强迫症的朋友,看到这个,⚠️是不是很烦 呢?
解决办法
举个例子
下面的写法就没有了。
⚠️ PrometLabel.textAlignment=UITextAlignmentCenter;解决⚠️:
PrometLabel.textAlignment=NSTextAlignmentCenter;
0 0
- UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
- UITextAlignmentCenter is deprecated
- "dismissModalViewControllerAnimated" is deprecated : first deprecated in iOS 6.0
- [问题记录]'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0
- 'minimumFontSize' is deprecated: first deprecated in iOS 6.0
- cString is deprecated :first deprecated in iOS 2.0
- 'sizeWithFont:' is deprecated: first deprecated in iOS 7.0 - Use -sizeWithAttributes:
- [问题记录]cString is deprecated :first deprecated in iOS 2.0
- 'dispath_get_current_queue'is deprecated:fist deprecated in iOS 6.0的解决办法
- sizeWithFont:constrainedToSize:' is deprecated: first deprecated in iOS 7.0 - Use -boundingRectWithS
- 'UITextAlignmentRight' is deprecated: first deprecated in ios6.0
- ABAddressBookCreate is deprecated: first deprecated in IOS6.0
- 解决interfaceOrientation is deprecated:first deprecated in ios8.0
- UITextAlignmentCenter在6.0中的替代
- UIAlertView is deprecated in iOS 8.
- Deprecated: Function ereg() is deprecated in
- Deprecated: Function ereg() is deprecated in
- Deprecated: Function ereg() is deprecated in 解决方案
- python with
- mongodb学习笔记
- Android编译系统介绍
- 使用Setup Factory 制作安装包的一般过程
- LeetCode 374:Guess Number Higher or Lower
- UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
- 解决ListVeiw点击事件失效问题
- 如何使用爬虫采集58招聘信息
- GetWindowText()有关问题解答——VS2012
- mysqldump命令的用法
- EventBus 3.0的用法 Demo
- 项目实战-ProgressDialog
- Shiro用ehcache缓存session,关于JSESSIONID失效报错问题
- Verify Preorder Serialization of a Binary Tree