smcdrc
smcdrc

Reputation: 1691

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?

Upvotes: 0

Views: 309

Answers (2)

Anoop
Anoop

Reputation: 1

Yes. You can store things in NSUserDefaults or File System

Upvotes: -1

grahamparks
grahamparks

Reputation: 16296

  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.

Upvotes: 2

Related Questions