I have an iPad app. I am creating an UIAlertController and adding a textfield. It crashes. It only crashes when I add a textfield.
let alert = UIAlertContr
This fixed it immediately (for me). I had the exact same error that Chris described :
NSInteralInconsistencyException - UIKeyboardLayoutAlignmentView
The answer was simply to make sure animated is set to "NO" when presenting the UIAlertController.
[self presentViewController:alert animated:NO completion:nil];