https://github.com/simonwhitaker/gsactivitydemo
A sample Xcode 4 project demonstrating an apparent bug in presenting UIActivity activityViewControllers on iPad
https://github.com/simonwhitaker/gsactivitydemo
Last synced: 9 months ago
JSON representation
A sample Xcode 4 project demonstrating an apparent bug in presenting UIActivity activityViewControllers on iPad
- Host: GitHub
- URL: https://github.com/simonwhitaker/gsactivitydemo
- Owner: simonwhitaker
- Created: 2012-11-20T10:44:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-20T14:01:36.000Z (over 13 years ago)
- Last Synced: 2025-01-01T02:40:55.437Z (over 1 year ago)
- Language: Objective-C
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This simple Xcode 4 project demonstrates the problem referred to in the following:
* Stack Overflow: [UIActivity activityViewController being presented modally on iPad instead of in popover](http://stackoverflow.com/questions/13433718/uiactivity-activityviewcontroller-not-being-presented-modally-on-ipad)
* OpenRadar: [UIActivity's activityViewController does not open in a popover on iPad](http://openradar.appspot.com/12729401)
When you tap the **Tap me!** button in the initial activity popover the subsequent view controller should, according to the [UIActivity class reference](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIActivity_Class/Reference/Reference.html) appear in a popover. However, it doesn't -- it is presented modally.
~~In addition, calling `activityDidFinish:` (by tapping the **I should dismiss this view** button) does not dismiss the view controller. Again, this appears to be contrary to the documented behaviour.~~ Resolved in commit [87997da](/simonwhitaker/GSActivityDemo/commit/87997daf29d7de787e15604f8d1285f3497603e3)