Storing email in keychain impossible (KeychainItemWrapper)

后端 未结 2 1552
既然无缘
既然无缘 2020-12-18 20:11

I\'m using the ARCified version of KeychainItemWrapper available at github, and I can\'t get it to store both email and password.

KeychainItemWrapper *keycha         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-18 20:55

    Well, I just found the answer following the advice on that page iOS KeychainItemWrapper not updating, which is to add

    [keychainWrapper setObject:@"Myappstring" forKey: (id)kSecAttrService];
    

提交回复
热议问题