Dismissing a popover can also lead to dismissing it's parent controller (regression)
||Date Originated:||22-Nov-2014 01:28 PM|
||Product Version:||iOS 8.1.1|
Dismissing a popover can also lead to dismissing it's parent controller if the user double-taps to dismiss. This is a regression from iOS 7 where it works as expected.
Steps to Reproduce:
Open the attached example, then read the instructions in the alert and double-tap into the yellow area do see the issue.
Should only ever dismiss the popover it controls, not the parent.
Dismisses the parent as well.
This works under iOS 7 and is a regression in iOS 8. The example isn’t built to be run under 7, but with changing this to a UIPopoverController it shows the same bug, but works fine on 7.
The sample also shows UIKit pseudocode where you see that someone forgot checking [controller dismissing] in the code path where the delegate isn’t implemented - that’s whys simply implementing the delegate actually fixes the issue.
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!