UIActionSheet dismisses wrong view controller

Originator:ckrames1234
Number:rdar://17754035 Date Originated:21-Jul-2014 03:17 PM
Status:Open Resolved:
Product:iOS Product Version:iOS 8 [12A4331d]
Classification:UI/Usability Reproducible:Always
 
Summary:
Cancelling an UIActionSheet that is presented as a popover on iPad causes the parent view controller to be dismissed if it is a presented view controller.

Steps to Reproduce:
1. Open the attached PopoverTest Xcode project
2. Build and run on iPad simulator or device running iOS 8 beta 4
3. Click on "Show Action Sheet"
4. Tap outside of the action sheet to cancel it

Expected Results:
The action sheet is dismissed

Actual Results:
The white TestViewController is dismissed

Version:
iOS 8.0 [12A4331d]

Notes:
UIPopoverPresentationController breaks a lot of things (rdar://17598574)

Configuration:
Retina iPad mini

Attachments:
https://drive.google.com/file/d/0B-8DQH32ErAuM2ZkZVUtYy1aZTg/edit?usp=sharing

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!