EDIT: Okay, here is a little correction. I got it working with placing a button above the shortcut, as suggested above, and with the following code:
- (IBAction) goToApp: (id)sender { NSURL *url = [NSURL URLWithString:@"floblog://"]; [self.extensionContext openURL:url completionHandler:nil]; }
I associated it with the Touch Up Inside event. However, this also leads to the launch of the application when the user views the Today view.
=========================================
I ran into the same problem. However, there seems to be no solution at the moment, as release notes for the first beta of iOS 8 are mentioned:
Known issues: openURL does not work with the extension.
So, I think we have to wait until beta 2.
sunseeker Jun 04 '14 at 13:25 2014-06-04 13:25
source share