UITextAlignmentCenter is deprecated starting iOS 6.0. Replaced with NSTextAligmentCenter instead.