English 中文(简体)
NSUbiquitous KeyValue 最高尺寸
原标题:NSUbiquitousKeyValueStore maximum size

NSUBIQUTUS KeyValue Store 的最大尺寸是多少?

我看到了相互矛盾的报告,例如,当前iOS文件说 1mb :

然而,如果你在Google上搜索,你可以看到许多关于最大尺寸的引用是64kb:

I m pretty sure the answer is that it used to be 64kb and was increased at some point. Does anyone know if this is the case, and if so when the change was made and if it affects all devices or just ones on a specific iOS (e.g. 5.1 but not 5.0?)

最佳回答

苹果说:

The key-value store is not intended for storing large amounts of data. It is intended for storing configuration data, preferences, and small amounts of app-related data

这让我想到 如果你问这个问题 你可能就不应该使用 关键价值商店了

Apple/news/index.php? id= 05302012a" rel="no follow" 更新了他们的文件 更新了新的、更高的限制 :

We ve increased the storage limits for iCloud Key Value Store so you can provide an even better experience in your app. Now, the total Key Value Storage limit is 1 MB per app, the single key limit is 1 MB, and the total key limit is 1024.

我不知道这何时生效,但很可能是各种来源之间差异的原因。

问题回答

暂无回答




相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签