plist的最大存储容量是多少? [英] What is the maximum storage capacity of a plist?
问题描述
我的应用程序使用 plist
作为数据存储,我想知道,plist文件的最大存储容量是什么iOS?
My application uses a plist
as data storage, and I would like to know, what is the maximum storage capacity of a plist file in iOS?
推荐答案
A plist
。
但是,Apple只推荐最小大小为 plists .apple.com / library / mac /#documentation / cocoa / conceptual / propertylists / AboutPropertyLists / AboutPropertyLists.htmlrel =nofollow>几百KB :
Apple, however, only recommend plists
having a maximum size of a couple hundred KB:
对于需要存储少量持久的
数据的情况,比如少于几百千字节 - 属性列表提供了一个
统一和方便的方法组织,存储和访问
数据。
"For situations where you need to store small amounts of persistent data—say less than a few hundred kilobytes—property lists offer a uniform and convenient means of organizing, storing, and accessing the data."
对于内存更加密集的数据,
For data which is more memory intensive, they recommend the following:
在某些情况下,属性列表架构可能证明
不足够。
对象,属性列表架构不支持的对象或
对象的变量设置必须保留的图形,请使用归档。
这篇关于plist的最大存储容量是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!