ios - Are NSString and NSData the only types I can insert into KeyChain? -


you can convert integer nsstring or array nsdata , insert them ios keychain.

my question is: it? or there direct way insert double, float or boolean?

you can store primitive types in form of nsnumber , save them keychain. has methods like: numberwithbool:, numberwithinteger:, numberwithfloat:.

here , here examples of storing bool in keychain.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -