Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement