...
Code Block |
---|
#pragma mark - Schemes func applicationappoxee(application: UIApplication, openURL url_ appoxee: NSURLAppoxee, sourceApplication: String?, annotation: AnyObject) -> Bool { handleScheme(url) return true } func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -> Bool { handleScheme(url) return true } func handleScheme(scheme: NSURL) { // Your implementation of a url scheme. // When the app is in the foreground and a notification arrives, the SDK does not display the notification // Make sure you set the behaviour to handle cases when app is in the foreground/backgroundhandledRemoteNotification pushNotification: APXPushNotification, andIdentifer actionIdentifier: String) { // Here the special field will be received in extra parameters in "pushNotification" print("Notification received") } |