Guest User

Untitled

a guest
Jan 18th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. guard let url: URL = URL(string: "AppName://?myParam=myValue") else { return }
  2.  
  3. self.extensionContext?.open(url, completionHandler: { (success: Bool) in
  4.  
  5. })
  6.  
  7. func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
  8.  
  9. return true
Add Comment
Please, Sign In to add comment