-[UIActivity activityViewController] is not presented in a UIPopoverController

Originator:testuttech
Number:rdar://12034514 Date Originated:Sun, 05 Aug 2012 11:23:19 GMT
Status:Open Resolved:
Product:iPad SDK Product Version:6.0 Beta 3
Classification:UI/Usability Reproducible:Always
 
Summary: According to the the UIActivity documentation, the UIViewController you return for the activityViewController "is presented inside of a popover." However in practice, all custom UIActivity's activityViewControllers are presented modally.

Steps to Reproduce: Create a custom UIActivity, and return a UIViewController for -[UIActivity activityViewController].

Expected Results: The view controller is presented in a popover.

Actual Results: The view controller is presented modally.

Regression: Naturally, only is a problem on the iPad.

Notes: Since some built in UIActivities use popovers (ex: assign UIImage to contact in the Address Book), some are presented modally (ex: the Tweet sheet). This bug may be related to rdar://12034500, where calling -[UIActivity activityDidFinish:] doesn't dismiss the activityViewController on an iPad.

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!