相关疑难解决方法(0)

卸载应用程序时删除钥匙串项

我正在使用idandersen的scifihifi-iphone代码进行钥匙串和使用保存密码

[SFHFKeychainUtils storeUsername:@"User" andPassword:@"123"
              forServiceName:@"TestService" updateExisting:YES error:&error];
Run Code Online (Sandbox Code Playgroud)

当我从设备中删除应用程序时,密码仍保留在钥匙串中.

我想在用户从设备中删除应用程序时从密钥链中删除密码.我怎样才能做到这一点?

objective-c keychain ios

233
推荐指数
7
解决办法
9万
查看次数

如何使用Keychain保存密码,如GenericKeychain示例代码

我想在App中保存用户的ID和密码.

保存ID和密码时,推荐的加密方式是什么.

我从越狱或黑客中找到了更安全的方法.

GenericKeychain示例代码怎么样?

http://developer.apple.com/library/ios/#samplecode/GenericKeychain/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007797

我对如何使用像GenericKeychain示例代码的Keychain一样安全.

请告诉我一些建议.谢谢^^*

encryption passwords keychain ios

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

ios ×2

keychain ×2

encryption ×1

objective-c ×1

passwords ×1