Is there a way to change the alignment of the message displayed inside a UIAlertController on iOS 8?
I believe accessing the subviews and changing it for the UILabel
This property exposes the text fields, so could probably be used to configure them:
textFields
The array of text fields displayed by the alert. (read-only)
Declaration
SWIFT
var textFields: [AnyObject]? { get }OBJECTIVE-C
@property(nonatomic, readonly) NSArray *textFieldsDiscussion
Use this property to access the text fields displayed by the alert. The text fields are in the order in which you added them to the alert controller. This order also corresponds to the order in which they are displayed in the alert.
Note: even though it says the property is readonly, it returns an array of text field object references which can be used to modify the controls.