Using keychain to store username and password in xcode 4

前端 未结 2 1716
Happy的楠姐
Happy的楠姐 2021-02-04 20:07

I don\'t want to use NSUserDefaults as I have been told it\'s not a good way to save a username and password.

So I was going to use a Keychain, but I have

2条回答
  •  耶瑟儿~
    2021-02-04 20:54

    I Use the open source SSKeychain wrapper around the the C api used by the keychain.

    It's convenient, easy to use, and works on Mac OS and iOS.

提交回复
热议问题