Possible Duplicate:
Size Limitation of NSUserDefault?
I am saving the images using NSUserDefaults. I want to know the maximum number of images i can save using NSUserDefaults or in other words how much memory we can use by using NSUserDefaults?
Thanks
If you are saving a number of images I would recommend saving images out the filesystem rather than saving them to NSUserDefaults (or CoreData for that matter) and then just saving the file name to NSUserDefaults.
This way there is no need to worry about any capacity restraints.
Saving the image:
Retrieving the image: