Does any one know how to launch the parent app from the app extension\'s view controller?
I just want to launch the main app from its app extension.
I asked a similar question here: Communicating with/opening Containing app from Share extension. Basically, you can do a couple things.
Use a UIWebView's loadRequest webView to load an NSURL request with your containing app's url. For example,
NSURL *url = [NSURL URLWithString:@"myurl"];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
[self.webView loadRequest:request];
Use a UIDocumentInteractionController and a custom file extension type to provide a link to your containing app (and your containing app only)
Start a "fake" NSURL session to get the following functionality: In iOS, if your extension isn’t running when a background task completes, the system launches your containing app in the background and calls the application:handleEventsForBackgroundURLSession:completionHandler: app delegate method.
The first one is probably your best bet.