iOS Share Extensions Should Not Require Storyboards
| Originator: | paul | ||
| Number: | rdar://17761855 | Date Originated: | 7/22/2014 |
| Status: | Closed | Resolved: | |
| Product: | iOS 8 SDK | Product Version: | Beta 4 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Creating an iOS Share Extension should not require a storyboard. Currently this requirement implicitly exists because there is no other way to specify an initial view controller in a Share Extension. When writing applications, the root view controller of a window can be set programmatically in -application:willFinishLaunchingWithOptions:. Because I do all of my view layouts programmatically, I would prefer to specify the Share Extension's initial view controller inside the info.plist for the target. Steps to Reproduce: 1. Make a Share Extension. 2. Try to figure out how to delete that Storyboard. Expected Results: I hoped to find a solution that would allow me to delete the storyboard. Actual Results: I did not find a solution that allowed me to delete the storyboard. Version: iOS 8 beta 4 SDK Notes: Configuration: Xcode 6.0 (6A267n) Attachments:
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!
Just found this in the docs:
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionCreation.html#//apple_ref/doc/uid/TP40014214-CH5-SW1
NSExtensionPrincipalClass The name of the principal view controller class created by the template, such as SharingViewController. When a host app invokes your extension, the extension point instantiates this class. NSExtensionMainStoryboard (iOS extensions only) The default storyboard file for the extension, usually named MainInterface.
This issue has been verified as resolved and can be closed.