Keychain中存储了字符串的长度限制吗? [英] Is there any length limit of string stored in Keychain?

查看:139
本文介绍了Keychain中存储了字符串的长度限制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将一些userinfo作为字符串存储在iOS上的Keychain中,那么Keychain中的字符串是否有任何长度限制?

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

谢谢。

推荐答案

很难回答:)它应该支持 NSString

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

所以Keychain字符串可以容纳 42亿字符,与 NSString

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

这篇关于Keychain中存储了字符串的长度限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆