What is maximum size of data that an object can hold on the iPhone?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
-didReceiveMemoryWarningbeing called and your app exiting.