UIAlertController based action sheet layout breaks in certain configurations

Number:rdar://20020818 Date Originated:03-Mar-2015 01:57 PM
Status:Open Resolved:
Product:iOS Product Version:8.1
Classification:UI/Usability Reproducible:Always
UIAlertController in UIAlertControllerStyleActionSheet style exhibits auto layout issues when presented anchored to certain screen positions. 

Steps to Reproduce:
Open the provided example project and follow the on-screen instructions. 

Expected Results:
The popover would be positioned correctly, without any auto layout warnings. 

Actual Results:
The internal popover layout is broken and auto layout warnings a printed in the console. 

The issue only seems to occur when the popover arrow is pointing left or right. A possible workaround is to restrict the possible arrow directions to up and down. 

See attached project and the provided screenshots (archived).


Sample project and screenshots

Project: http://cl.ly/2v2n0L2y3f3y Broken: http://cl.ly/image/20141k2h0F2M Working: http://cl.ly/image/2T0y3I1k0z15

By bukovinski at March 3, 2015, 1 p.m. (reply...)

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!