Getting Optional(“”) when trying to get value from KeyChain

后端 未结 5 1439
自闭症患者
自闭症患者 2020-12-15 23:00

When I try to get my keyChain value, it return a string containing:

Optional(\"[thing in the KeyChain]\")

so, I tried to remove \"Optiona

5条回答
  •  庸人自扰
    2020-12-15 23:29

    You can use the Swift wrapper over the Keychain C API, and avoid the above problems altogether. https://github.com/deniskr/KeychainSwiftAPI

提交回复
热议问题