开发者

Can I cache/store larger files within my native Iphone App

开发者 https://www.devze.com 2023-01-27 22:33 出处:网络
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.

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?


  1. Yes.
  2. Up to the storage capacity of the device.
  3. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消