Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
let url = URL(string: "mainAppUrl://")!
self.extensionContext?.open(url, completionHandler: { (success) in
if (!success) {
print("error: failed to open app from Today Extension")
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment