IOS 8 Today widget and locked device
1 answer
Instead of using
UIApplication.SharedApplication.OpenUrl(new NSUrl("myapp://foo"));
Using
ExtensionContext.OpenUrl(new NSUrl("myapp://foo"), null);
The code is in C # using Xamarin.iOS, but ObjectiveC code is equivalent to:
NSURL *url = [NSURL URLWithString:@"myapp://foo"];
[self.extensionContext openURL:url completionHandler:nil];
+1
source to share