My app is registered for URL Schemes:

But I have no idea how to open that app, since I cannot use UIApplication.sharedApplication() in extension. Is it possible at all?
Apple's documentation says:
A Today widget (and no other app extension type) can ask the system to open its containing app by calling the
openURL:completionHandler:method of theNSExtensionContextclass.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With