As you know from iOS 6 UITextAlignment is deprecated, but it’s still can be used if you support earlier iOS versions. But I have a question how to make it text alignment for iOS 5 as UITextAlignmentLeft and for iOS 6 as NSTextAlignmentJustified?
As you know from iOS 6 UITextAlignment is deprecated, but it’s still can be
Share
write below statement in your common file or .pch File
then to check textalignment for ios 6 or ios 5 write