UIActivity's activityViewController does not open in a popover on iPad
| Originator: | simon | ||
| Number: | rdar://12729401 | Date Originated: | 2012-11-19 |
| Status: | Open | Resolved: | |
| Product: | iPad | Product Version: | 6.0 |
| Classification: | UI/Usability | Reproducible: | Always |
19-Nov-2012 07:03 PM Simon Whitaker: Summary: The UIActivity class reference says of the activityViewController method: "If this method returns a valid object, the system presents the returned view controller for you, instead of calling the performActivity method. On iPad, your view controller is presented inside of a popover. On iPhone and iPod touch, your view controller is presented modally." However, on iPad my view controller is always displayed modally, not inside a popover. In addition, calling activityDidFinish: on iPad does not dismiss the view controller. I suspect this is related to the fact that the view controller displays modally. On iPhone the behaviour for both these methods works as documented. Steps to Reproduce: Run the attached app on the iPad simulator Expected Results: When you tap the "Tap me!" activity button, a view opens in a UIPopover Actual Results: When you tap the "Tap me!" activity button, a view is presented modally. Regression: Notes: [File uploaded to Apple is available at http://cloud.goosoftware.co.uk/L0V5]
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!