Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.41 KB | None | 0 0
  1.     public func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
  2.        
  3.         if let url = userActivity.webpageURL {
  4.            
  5.             return SuperView.handleURL(url: tempURL!)
  6.            
  7.         } else {
  8.            
  9.             return true
  10.            
  11.         }
  12.            
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement