Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleForwarding calls - Swift
    @available(iOS 10.0, *)
    func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
        
        Appoxee.shared()?.userNotificationCenter(center, didReceive: response, withAppoxeeCompletionHandler: { 
            
			// When the completion handler is called, this means that Appoxee completed it's execution.
			// Call the completion handler.
            completionHandler()
        })
    }

 


And to control the display of notifications in the foreground by yourself.

...