18 Replies
      Latest reply on Dec 5, 2017 9:49 PM by appdev
      c0090555 Level 1 Level 1 (0 points)

        Hi,

        I am trying to make our app's push notification work on iOS 10 and have found application:didReceiveRemoteNotification:fetchCompletionHandler: won't be called when app is in background with xcode 8. The new function from UNUserNotificationCenterDelegate: func userNotificationCenter(UNUserNotificationCenter, willPresent: UNNotification, withCompletionHandler: (UNNotificationPresentationOptions) -> Void) looks like only for a foreground app. So how could we handle the app background case?

        Besides this, does anyone know how to make the new two functions for receiving notifications and handling the selections of custom actions to be called in xcode? My breakpoint didn't work with them.

         

        Thanks!