我可以在 iPhone 上访问钥匙串吗? [英] Can I access the keychain on the iPhone?
本文介绍了我可以在 iPhone 上访问钥匙串吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这个问题讨论了使用 crypt() 函数在 iPhone 上加密数据.作为替代方案,iPhone 上是否有钥匙串?如果有,我将使用什么代码来访问它以存储登录详细信息,然后在应用程序中为我们检索它们?
This question discusses encrypting data on the iPhone using the crypt() function. As an alternative, is there a keychain on the iPhone and if so, what code would I use to access it in order to store login details and then retrieve them for us in an application?
推荐答案
您可以使用钥匙串 - 对于代码,最好的办法是查看 Apple 的 GenericKeychain 示例应用程序:
There is a keychain you can use - for code, the best bet is to check out the GenericKeychain sample application from Apple:
这篇关于我可以在 iPhone 上访问钥匙串吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文