Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
  2. let status = UIApplication.shared.applicationState
  3. print("receive silent notification in \(status.rawValue)")
  4.  
  5. completionHandler(.newData)
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement