I'm developing an action extension for iOS 8 at the moment. I want the view to be full screen, and it is on the iPhones, but not on the iPad, on the iPad my extension is presented in a small view in the middle. Is it possible to make it so that it's full screen on the iPad too?
Asked
Active
Viewed 1,408 times
2 Answers
6
After a bit of searching around I found all I needed to do was put
[self setPreferredContentSize:CGSizeMake(760.0f, 1024)];
in viewDidLoad

Joseph Williamson
- 771
- 1
- 6
- 18
5
According to Apple's App Extension Programming Guide you need to add a new boolean value for NSExtensionActionWantsFullScreenPresentation
in the NSExtension
dictionary.
<key>NSExtension</key>
<dict>
<key>NSExtensionActionWantsFullScreenPresentation</key>
<true/>
</dict>