SHARE
TWEET

Untitled

a guest Oct 21st, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import UIKit
  2.  
  3. @UIApplicationMain
  4. class AppDelegate: UIResponder, UIApplicationDelegate {
  5.  
  6.  
  7.  
  8.     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
  9.         // Override point for customization after application launch.
  10.         return true
  11.     }
  12.    
  13.     func application(_ application: UIApplication,
  14.                      willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
  15.         return true
  16.     }
  17.  
  18.    
  19.     func application(_ application: UIApplication,
  20.     continue userActivity: NSUserActivity,
  21.     restorationHandler: @escaping ([Any]?) -> Void) -> Bool {
  22.         print("call back called 1")
  23.         return true
  24.     }
  25.    
  26.     func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
  27.         print("call back called 2")
  28.         return true
  29.     }
  30.  
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top