Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. return Redirect("xxxx.xxx-xxx://");
  2.  
  3. func application(_ application: UIApplication,
  4. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
  5. // Override point for customization after application launch.
  6. return true
  7. }
  8.  
  9. func application(_ app: UIApplication,
  10. open url: URL,
  11. options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
  12. if let authorizationFlow = self.currentAuthorizationFlow, authorizationFlow.resumeExternalUserAgentFlow(with: url){
  13. self.currentAuthorizationFlow = nil
  14. return true
  15. }
  16. return false
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement