Reputation: 61840
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?
Upvotes: 6
Views: 1368
Reputation: 61840
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 theNSExtensionContext
class.
Upvotes: 5