Strange UIAlertView crash

On iOS8+ presenting an AlertView can lead to a crash: NSInternalInconsistencyException what you cannot really catch.

Spending quite some time around this I realized the issue comes when the keyboard is open. Closing the keyboard (endEditing) solves the issue.

I also found a good thread about this at stackoverflow