kishikawakatsumi / KeychainAccess

Simple Swift wrapper for Keychain that works on iOS, watchOS, tvOS and macOS.
MIT License
7.95k stars 789 forks source link

update keychain .label or .comment #520

Open 520 opened 3 years ago

520 commented 3 years ago
  1. I use the code below to add a new keychain, I want to change the label and comment but dont know? try? keychain .label(label) .comment(comment) .set(value, key: key)
  2. I am used to update label and comment by adding a new one after deleting the old one. now I encount a transation issue. I delelted the old one but adding goes wrong. Is there a function like FMDB commit() to solve the transation problem. Thanks