Search code examples
ios8ios-app-extension

iOS App Extension with xib instead of storyboard


I'm writing an iOS 8 App Extension (widget) for the Today view. The default template in xcode comes with a storyboard. How can I use an xib file instead of an storyboard?

The documentation says this is possible, but I can't seem to figure out how to change the info.plist file to get the xib loaded.


Solution

  • all you need to do is add "NSExtensionPrincipalClass" and the classname which you want.