When double-tap the dimming view to dismiss the popover, it will also close modal view under

Number:rdar://18186956 Date Originated:8/30/2014
Status:Duplicate of 17697047 (Closed) Resolved:
Product:iOS SDK Product Version:iOS 8.0 (12A4345d)
Classification:Serious Bug Reproducible:Always
If showing a pop over on the modal view, double-tap the dimming view to dismiss the popover.
It will also close the modal view together.

Steps to Reproduce:
1. Open and run the project https://dl.dropboxusercontent.com/u/285673/sample.zip
2. Push the right bar button (named "Modal") on navigation bar
3. Shown the table view modally
4. Push the right bar button (named "Popover") on navigation bar, shown popover
5. "Double-Tap" the dimming view

Expected Results:
Dismiss the popover 

Actual Results:
Dismiss the popover, and also dismiss modal view under

iPad Air, 32GB, WiFi
iOS 8.0 (12A4345d)

Not only UIPopoverController, this occurs in all views to be displayed in a pop-over style.
For example UIAlertControler(ActionSheet), UIPrintInteractionController, and so on.


It was found that the event handler(-[UIPopoverPresentationController#dimmingViewWasTapped:]) is called twice when double or more tapped the dimming view.

dimmingViewWasTapped: calls presenting view controller's dismissViewController:animated:completion: method. So the method called twice or more, also close other views not just pop over.

By kishikawakatsumi at Aug. 30, 2014, 4:40 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!