12

I want to left align message in UIAlertView to left in iOS7, i am able to do that in iOS 5.x and 6.x using UITextAlignmentLeft and NSTextAlignmentLeft and not on iOS 7.

Bug
  • 2,576
  • 2
  • 21
  • 36
user2819236
  • 123
  • 1
  • 1
  • 5
  • Are you able to fix this issue? – Vardhan Sep 27 '13 at 11:32
  • It is not possible in iOS7. "You cannot customize the appearance of alert views:" https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UIAlertView.html#//apple_ref/doc/uid/TP40012857-UIAlertView-SW1 – Sten Sep 27 '13 at 14:19

1 Answers1

7

Sten is right we can't customize appearance of UIAlertView in iOS 7, if you need you can made a custom Alert view code is available at https://github.com/wimagguc/ios-custom-alertview

Harsh
  • 282
  • 1
  • 3
  • 11
  • 11
    I think it makes more sense if you can post the relevant code from that because the links may not exist in future – RinoTom Sep 28 '13 at 14:09