UIActivityTypePostToFacebook doesn't hide popover when cancelled

Originator:testuttech
Number:rdar://12034569 Date Originated:Sun, 05 Aug 2012 12:36:01 GMT
Status:Open Resolved:
Product:iPad SDK Product Version:6.0 Beta 3
Classification:Other bug Reproducible:Always
 
Summary: After a UIActivityViewController presents a UIActivityTypePostToFacebook and the user presses cancel on the Facebook sharing sheet, an invisible popover remains, and doesn't "dismiss" until the user taps anywhere.

Steps to Reproduce: Show a UIActivityViewController. Tap "Facebook". Now tap "Cancel" on the sheet that will appear.

Expected Results: The popover that contained the UIActivityViewController is dismissed along with the sharing sheet.

Actual Results: The popover that contained the UIActivityViewController, while invisible, is not dismissed.

Regression: Naturally, this only happens on the iPad, as the iPhone doesn't have popovers.

Notes: The developer can programmatically dismiss the UIPopoverController, but it is kind of hacky, and since only the UIActivityTypePostToFacebook exhibits this behavior, it makes it more complicated.

Attached is a sample app that demonstrates this issue. Simply tap the action button at the bottom of the screen, and tap the Facebook icon. Then press "Cancel", and the UIPopoverController will remain invisible until you either tap on the screen or on the action button it was presented from.

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!