SECURITY WARNING:"Please treat the URL above as you would your password and do not share it with anyone. in ios

后端 未结 4 722
逝去的感伤
逝去的感伤 2021-01-25 03:46

I am working on app that contains facebook login .After login with face book I need to go to native application & app should display user name & image that was there in

4条回答
  •  北荒
    北荒 (楼主)
    2021-01-25 04:03

    Apart from implementing :

    - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
    - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation`
    

    you have to add URL Types > URL Schemes into your application plist, with value : fb1234567890 where 1234567890 is your App ID.

    See Item 5: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/

提交回复
热议问题