0
可能重複:
Is there any limit of file size in the Document of IOS appiPhone文檔文件夾的容量是否有限制?
我想保存在iPhone上的文檔文件夾中的文本文件。這個文件夾有容量限制嗎?還是僅僅取決於iPhone的內存容量?
可能重複:
Is there any limit of file size in the Document of IOS appiPhone文檔文件夾的容量是否有限制?
我想保存在iPhone上的文檔文件夾中的文本文件。這個文件夾有容量限制嗎?還是僅僅取決於iPhone的內存容量?
除了設備本身的剩餘容量外,您的沙盒的大小沒有限制。
To manage program memory, iPhone OS uses essentially the same virtual memory system found in Mac OS X.
In iPhone OS, each program still has its own virtual address space, but (unlike
Mac OS X) its usable virtual memory is constrained by the amount of physical memory
available. This is because iPhone OS does not write volatile pages to disk when memory
gets full. Instead, the virtual memory system frees up volatile memory,
as needed, to make sure the running application has the space it needs. It does
this by removing memory pages that are not being used and that contain read-only contents,
such as code pages. Such pages can always be loaded back into memory later if they are needed again.
If memory continues to be constrained, the system may also send notifications to
the running applications, asking them to free up additional memory. All applications
should respond to this notification and do their part to help relieve the memory pressure.
For information on how to handle such notifications in your application, see
「Observing Low-Memory Warnings.」
Unkown謝謝您的寶貴信息。在製作我的應用程序時,我會考慮到這一點。 – boochan224 2012-04-29 06:06:58
因爲你回答了我的問題已經過去了一年多了。感謝您迅速回復。我不得不擺脫編程,並沒有檢查堆棧溢出。對於遲到的回覆,我表示歉意。我想我現在能夠再次提出問題! – boochan224 2013-05-27 07:33:05
不客氣。 @ boochan224 – akk 2013-07-25 06:53:07