Is there any length limit of string stored in Keychain?

前端 未结 3 752
走了就别回头了
走了就别回头了 2020-12-03 13:31

I want to store some userinfo as a string in Keychain on iOS, so is there any length limit of the string in Keychain?

Thanks.

3条回答
  •  时光取名叫无心
    2020-12-03 14:04

    It's hard to answer :) It should support the maximum length of NSString

    So the Keychain string can hold a little over 4.2 billion characters same as NSString

提交回复
热议问题