Problems with fbDidLogin never called iOS

前端 未结 6 1478
死守一世寂寞
死守一世寂寞 2021-01-22 02:18

I\'m having problems with my app saving the access_token. The problem is, when an iPhone hasn\'t the Facebook app installed, safari will handle this and there is no problem. But

6条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-22 03:19

    Have you disabled multi-task on your app via Info.plist? The Facebook SDK makes the (undocumented assumption) that your app supports multi-task.

    By that I mean you have a "Application does not run in background" (UIApplicationExitsOnSuspend) set to YES.

    If that is the case, you're going to have to use login via an in-app browser for which I will update my post and provide a code sample.

提交回复
热议问题