开发者

Size Limitation of NSUserDefault?

Is there a size limit to NSUserDefaults? What is it?

I'm afraid that such a limit ca开发者_JS百科n cause my app to crash.


No, there is no size limit to NSUserDefaults, aside from the storage capacity of the device itself.

if you are storing a dynamic amount of variables, for example, you are recording time stamps every time the user presses a button, I would recommend implementing an SQL db.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜