fixed UITextAlignmentCenter vs NSTextAlignmentCenter deprecation in iOS6

Fixed a build warning for UITextAlignmentCenter vs NSTextAlignmentCenter