From 612e2b8333924c56a75359fd62a6f6f64b4a18d1 Mon Sep 17 00:00:00 2001 From: cafedeichi Date: Mon, 28 Sep 2020 09:07:38 +0900 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 05dc731b4..9126bd4f9 100644 --- a/README.md +++ b/README.md @@ -844,8 +844,7 @@ Deep linking on iOS 8 and earlier devices is being done with usage of a custom U After this has been set up, your app will be opened after you click the adjust tracker URL with `deep_link` parameter which contains the scheme name which you have chosen. After app is opened, `openURL` method of your `AppDelegate` class will be triggered and the place where the content of the `deep_link` parameter from the tracker URL will be delivered. If you want to access the content of the deep link, override this method. ```objc -- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url - sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { // url object contains your deep link content // Apply your logic to determine the return value of this method @@ -939,8 +938,7 @@ Once you have received deep link content information in your app, add a call to The call to `appWillOpenUrl` should be done like this to support deep linking reattributions in all iOS versions: ```objc -- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url - sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { // url object contains your deep link content [Adjust appWillOpenUrl:url];