ios app with multiple images

General discussion about iOS development - a great place to ask questions about iOS or help out others. For discussion of the official tutorials, see the Official Tutorials forum.

Re: ios app with multiple images

Postby marciokoko » Tue Aug 13, 2013 2:55 am

If you store them in the app you would have to store them in the bundle of your app.

The best option is to store them online. What you do is store all images on a server folder somewhere. Then store the paths to those images in your app, such as in a database or a plist file.

Then just download them as you need them and update them whenever you want on the server.
--------------
"Stay Hungry, Stay Foolish!"
Mars
santiapps.com
@santiapps
MBA-2011-iPhone5s-iPad3
User avatar
marciokoko
Forum Subject Matter Expert
 
Posts: 2785
Joined: Wed Jun 08, 2011 9:37 pm
Has thanked: 4 times
Been thanked: 402 times

Re: ios app with multiple images

Postby marciokoko » Tue Aug 13, 2013 3:05 pm

Yes if the app will need those images while offline, you'll have to store them.

As for the cache, well an image cache is created precisely to store images. So I'm not sure why someone would say "don't use the cache". They probably meant, just make sure to empty the cache when not in use.
--------------
"Stay Hungry, Stay Foolish!"
Mars
santiapps.com
@santiapps
MBA-2011-iPhone5s-iPad3
User avatar
marciokoko
Forum Subject Matter Expert
 
Posts: 2785
Joined: Wed Jun 08, 2011 9:37 pm
Has thanked: 4 times
Been thanked: 402 times

Re: ios app with multiple images

Postby marciokoko » Wed Aug 14, 2013 2:52 pm

That really depends on your relationship with your client. I'm currently working on a project where my client has asked me to specifically deliver the Xcode project to them for uploading to the app store through their account. This means that if I want to keep certain code private I have to do whatever I need to do in order to achieve that goal. If you do not need to keep anything private from your client then just go ahead and give them the Xcode project in the end.
--------------
"Stay Hungry, Stay Foolish!"
Mars
santiapps.com
@santiapps
MBA-2011-iPhone5s-iPad3
User avatar
marciokoko
Forum Subject Matter Expert
 
Posts: 2785
Joined: Wed Jun 08, 2011 9:37 pm
Has thanked: 4 times
Been thanked: 402 times


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 8 guests