Seems like UITextAlignmentCenter is deprecated in iOS 6.

I still use it and works well, but it gives a warning.

How can I fix this?

label.textAlignment = UITextAlignmentCenter;

Thanks.

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *