iOS: How to authenticate a user after login (for auto login)?

前端 未结 4 1387
醉酒成梦
醉酒成梦 2021-02-03 11:16

I\'d like to use an auto-login function. So when the user opens the app, he gets delegated to a \"login screen\". When he logged in successfully he should be directed to his acc

4条回答
  •  独厮守ぢ
    2021-02-03 12:09

    While saving Username and Password, it is highly advised to save in Keychain rather than the NSUserDefaults. Refer this post for a better understanding.

提交回复
热议问题