简体   繁体   中英

One time login through Facebook in iOS app

I have a app which has a login option which is only through the Facebook account. But when I run the app in simulator it always ask for login again and again when I am going to run my app. I want to show the main view if user is already logged in through the Facebook and when user delete the app and install again then user has to log in again to the app.

You should be saving a single sign on token? The simulator will fallback to 0Auth and may not be realistic, but it should remember it none the less.

Which version of the FaceBook SDK are you using?

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