简体   繁体   中英

Facebook deep linking conflict on iOS

I have two iOS apps that uses the same Facebook app to perform a Facebook Connect. One app must use deep linking, there other shouldn't. The problem is I don't how to handle the shouldn't case.

I have tried to use the - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation method and return NO when the app shouldn't use deep linking but it does not seem to work.

Any clues?

At least you could try crash your app which you don't want to handle url. (eg throw an exception)

Have you tried to specify two different URL Scheme Suffixes?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM