我的旧代码
sectorLabel.textAlignment = UITextAlignmentCenter;
Xcode 表示 textAlignment 已弃用。如何使用新方法?
谢谢
最佳答案
它现在使用与 Mac 相同的属性。
改用 NSTextAlignment Center
:D
HTH
关于ios - 如何使用新的 iOS 6 方法使文本居中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12675519/