我的ios应用程序的大小限制,特别是Core Data [英] Size limit of my ios app particularly Core Data

查看:178
本文介绍了我的ios应用程序的大小限制,特别是Core Data的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个应用程式。它是一个内部应用程序。我想知道,如果我的应用程序可以在iOS设备上占用的大小有任何限制。我的应用程序连接到Web服务并从SQL服务器下载数据。也许1000行。我的应用在iOS设备上存储了多少数据?有人可以用简单的话来解释它。我读了它的2GB。但我认为这是应用程序的大小,当你安装it.Correct?在组织者的档案部分,我的应用程序现在说1MB。那么2gb,是否有正确的限制?50 mb是OTA下载的大小。我想知道我的应用程序可以占用多少空间在iOS设备上。我的应用占用了多少核心数据空间?更多问题要来。感谢。

I have developed an app. It is an in-house app. I want to know if there is any limit on the size my app can take up on the iOS device. My app connects to a web-service and downloads data from SQL server. Maybe 1000s of rows. How much data can my app store on the iOS device? Can someone explain it in simple terms. I read its 2GB. But i think that is the size of the app when you install it.Correct? In archives section of organizer my app now says 1MB. So that 2gb, is the limit there correct?50 mb is the size of OTA download. I want to know how much space my app can occupy on the iOS Device. How much core data space can my app occupy? More questions to come. Thanks.

推荐答案

据我所知,您可以在设备上保存尽可能多的数据,直到耗尽的内存。核心数据存储(例如sqlite文件)只存在于设备的文档目录中的文件中。一旦设备上没有更多的空间,并且没有缓存清除,我认为它会抛出错误没有空间可用等。

As far as I am aware you have can save as much data as you want on the device until it runs out of memory. Core Data store (eg sqlite file) just lives in a file in the documents directory of the device. Once there is no more room on the device, and there are no caches to clear I assume it will throw errors 'no space available' and such.

写一个快速的应用程序从软件包加载大图像并将其保存到文档文件夹中具有不同的文件名(时间戳?),循环,直到设备崩溃,你可能会看到有多少内存,让你有:)

Write a quick little app that loads a large image from the bundle and saves it to the documents folder with a different filename (timestamp?), loop it until the device crashes and you might get to see how much memory it lets you have :)

(在实际设备上执行,而不是模拟器)

(Do it on an actual device, not the Simulator)

这篇关于我的ios应用程序的大小限制,特别是Core Data的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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