Use NSTextAlignmentCenter to remove iOS6 deprecation warnings