A quick tip for developing extensions in iOS 8:
When developing iOS action extensions and today widgets, I'm finding that it's sometimes useful – where possible – to set up your app to launch your extension's view controller as your app's root view controller with a few hard-wired mock inputs so you can develop your extension faster than if it was launched as an extension.
You can check the
extensionContext property of your root view controller. If it's
nil, you are running in the app.