How to force FBLoginView to use the system default account

Previous versions of the iOS Facebook SDK (3.12) allowed you to specify the loginBehavior property in FBLoginView to use the system account: https://developers.facebook.com/docs/reference/ios/3.12/class/FBLoginView/

How can I implement the same behavior (use FBSessionLoginBehaviorUseSystemAccountIfPresent) in the latest SDK?

0
source share
1 answer

What versions of the SDK are having problems. All SDK v3.x versions provide this loginBehavior property, as you mentioned. In version 4.0 of the SDK (released March 25), FBLoginView is replaced by FBSDKLoginButton and still offers the loginBehavior property.

0

All Articles