Guest User

Untitled

a guest
Aug 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. @discardableResult
  2. public func
  3. application(_ application: UIApplication,
  4. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
  5. return delegate?.application(application, didFinishLaunchingWithOptions: launchOptions) ?? false
  6. }
  7.  
  8. @available(iOS 9.0, *)
  9. @discardableResult
  10. public func application(_ app: UIApplication,
  11. open url: URL,
  12. options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
  13. return delegate?.application(app,
  14. open: url,
  15. sourceApplication: options[.sourceApplication] as? String,
  16. annotation: options[.annotation]) ?? false
  17. }
Add Comment
Please, Sign In to add comment