2

I see other live app can open host app when use control center record.

[self.extensionContext openURL:YOUR_NSURL completionHandler:nil];

or

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"myapp://"]]];

or

func openURL(_ url: URL) -> Bool {
    var responder: UIResponder? = self
    while responder != nil {
        if let application = responder as? UIApplication {
            return application.perform(#selector(openURL(_:)), with: url) != nil
        }
        responder = responder?.next
    }
    return false
}

is doesn't work.any one know this? Thank you for you time.best wishes

Karim
  • 322
  • 4
  • 20
  • Did you ever find a solution to this? I have a similar issue: https://stackoverflow.com/questions/69231573/error-when-opening-main-app-from-autofill-credential-provider-extension – metamonkey Sep 20 '21 at 19:32

0 Answers0