iOS: what's the best place to store media files

Chris Sheffield cmsheffield at gmail.com
Wed Jan 26 14:35:50 EST 2011


What is the best place to store files like audio and images alongside an iOS app? I am working on a simple proof of concept app that needs to play several audio files back to back. I don't necessarily want these audio files to be backed up through iTunes, as the finished app may eventually contain hundreds of audio files (most likely in the form of downloadable packs of some kind), but they do need to be persistent between app launches.

From my understanding, it looks like the app's cache folder is the best place, but I just thought I'd ask to make sure. And if that's the case, what is the best way to test this in the simulator? Do I need to copy all the audio files into the simulated app's folder at /Users/[user]/Library/Application Support/iPhone Simulator?

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com





More information about the use-livecode mailing list