似乎UITextAlignmentCenter在iOS 6中已弃用.
UITextAlignmentCenter
我仍然使用它并且效果很好,但它会发出警告.
我怎样才能解决这个问题?
label.textAlignment = UITextAlignmentCenter;
谢谢.
label alignment ios
alignment ×1
ios ×1
label ×1