开发者

What is maximum size of data that an object can hold on the iPhone?

开发者 https://www.devze.com 2022-12-26 06:16 出处:网络
What i开发者_Python百科s maximum size of data that an object can hold on the iPhone?The amount of memory the iPhone currently can allocate to an object is the amount of memory currently available.

What i开发者_Python百科s maximum size of data that an object can hold on the iPhone?


The amount of memory the iPhone currently can allocate to an object is the amount of memory currently available.

Conceptually, there is no limit. The iPhone itself does have physical limits, though.

You must test your apps on the iPhone heavily before releasing an app that will get arbitrary length data.

You should make sure that the data length is within reasonable bounds. The last thing you want is -didReceiveMemoryWarning being called and your app exiting.


There's no size limit.

(Except limited by the RAM and pointer bit-size.)

0

精彩评论

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

关注公众号