UIAlertController:supportedInterfaceOrientations was invoked recursively

Originator:benbcai
Number:rdar://22385765 Date Originated:08/21/2015
Status:Open Resolved:
Product:iOS Product Version:iOS 9
Classification:Crash Reproducible:Yes
 
When a UIAlertController is presented and the device is rotated, the app crashes because there is an infinite loop when the alert controller tries to retrieve the supportedInterfaceOrientations

Thread: http://stackoverflow.com/questions/31406820/uialertcontrollersupportedinterfaceorientations-was-invoked-recursively


Tested on iPad Retina simulator
xCode Version 7.0 beta 5 (7A176x)
System version: OS X 10.10.4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!