Can I cache/store larger files within my native Iphone App
We are looking to write an app that can locally store short videos and pdfs from the 开发者_如何转开发server for offline viewing. Is this possible? If so, how much storage capacity am I allowed.
So, can I pull down 1GB of video to view later in my app?
- Yes.
- Up to the storage capacity of the device.
- Yes.
Note iOS offers separate Temporary, Cache and Documents folders for storage. You should aim to use the Temporary or Caches folder for storage because the Documents folder is backed up when syncing with iTunes, which is very slow if there are large files to transfer.
Yes. You can store things in NSUserDefaults or File System
精彩评论