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
Try to set alert.view.frame explicitly to something small. I think by default it may be as big as the application view, triggering this on its subviews.