Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到一些应用程序,如 Foursquare 和 Quiz up,在卸载并重新安装应用程序后会自动恢复用户会话,我想知道实现这一点的常用方法是什么,用户会话是使用 iCloud 保存的吗?
对此的任何提示表示赞赏。
谢谢
用户会话信息保存在钥匙串中。这可以安全地保护数据(或至少与普遍接受的一样多),并且在删除应用程序时不会删除钥匙串。
在登录页面上使用 ruby watir