added conditional compile directive around UITextAlignment vs NSTextAlignment for iOS >= 6.0