Openurl Not Work in Action Extension

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



Leave a reply



Submit