Updating iOS application content which include images

Posted by azamsharp on Stack Overflow See other posts from Stack Overflow or by azamsharp
Published on 2012-10-15T20:22:17Z Indexed on 2012/10/15 21:37 UTC
Read the original article Hit count: 155

Filed under:

I am working on a Vegetable gardening application. Apart from the vegetable name and description I also have vegetable image. Currently, I have all the images in the Supported Files folder in the Xcode project.

But later on I want to update the application dynamically without having the user download a new version. When the user updates the application or downloads new data from the server that data will include the images. Can I store those images in the supporting file folder or somewhere where they can be references by just the name.

RELATED QUESTION:

I will also allow the user to take pictures of their vegetables and then write notes about the vegetables like "just planted", "about to harvest" etc. What is the recommended approach for storing pictures/photos. I can always store them in the user's photo library and then store the reference in the local database and then fetch and display the picture using the reference. The problem with that approach might be that if the user accidentally deletes the picture from the library then it will no longer be displayed in my application.

The only way I see if to store the picture in the app local database as a BLOB.

© Stack Overflow or respective owner

Related posts about ios