...
Code Block |
---|
#pragma mark - Schemes
func application(application: UIApplication, openURL url: NSURL, 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) -> Void {
// 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/background
} |