UITextAlignment is deprecated, so for iOS 6+, use NSTextAlignment instead