gpt4 book ai didi

ios - KeychainItemWrapper 类在 ios 9 中出现错误

转载 作者:行者123 更新时间:2023-12-01 17:29:43 28 4
gpt4 key购买 nike

我想在我的应用程序中保存密码和 ID。我下载了

[KeychainItemWrapper][1]

https://developer.apple.com/library/ios/samplecode/GenericKeychain/Introduction/Intro.html

并在我的项目中添加了 KeychainItemWrapper.h/m。当想要使用类来解决这个问题时。
enter image description here

最佳答案

更好地使用其他包装库而不是 Apple 的包装库,例如 FXKeychainSSKeychain因为来自 Apple 的不支持 ARC,但如果您想使用它,请导航到项目的构建阶段 -> 编译源 -> 更改 KeychainItemWrapper.m编译器标志为 -fno-objc-arc
较新的钥匙串(keychain)库是 Locksmith

关于ios - KeychainItemWrapper 类在 ios 9 中出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33140870/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com