An open API service indexing awesome lists of open source software.

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

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)