openURL not work in Action Extension
This is by design. We don't want Custom Actions to become app launchers.
openURL from App Extension
you may use this code:
[self.extensionContext openURL:url completionHandler:^(BOOL success) {
NSLog(@"fun=%s after completion. success=%d", __func__, success);
}];
the API document:
openURL:completionHandler:
you could also refer to this question:
openURL not work in Action Extension
Can imessage extension open host app?
This is apparently not working in Seed 2 but should be fixed in Seed 3.
https://forums.developer.apple.com/message/153441#153441
Related Topics
Vertically Align Text to Top Within a Uilabel
Split a String into an Array in Swift
Uialertcontroller Custom Font, Size, Color
How to Symbolicate Crash Log Xcode
Difference Between 'Yyyy' and 'Yyyy' in Nsdateformatter
Set the Maximum Character Length of a Uitextfield
Hide Strange Unwanted Xcode Logs
How to Return Value from Alamofire
Adjust Uilabel Height Depending on the Text
Can You Animate a Height Change on a Uitableviewcell When Selected
Programmatically Retrieve Memory Usage on Iphone
Swift: Reload a View Controller
Force View Controller to Reload to Refresh Uiappearance Changes
How to Get Height of Uitableview When Cells Are Dynamically Sized