Download and save files on iphone?

I am developing an application that allows user to browse e-learning lessons and download the content to play the lesson.
The download is via WWW.

The problem is how to save the lesson assets on local instead of memory so user can play lesson again in future without re-downloading.

From my knowledge, I think it could be done by use System.IO to save/load on PC.

  1. Does System.IO works on iPhone?
  2. Does iPhone permits the app the save files on local?

this question could possibly help iFone users ... http://answers.unity3d.com/questions/235365/on-iphone-is-persistentdatapath-the-equivalent-of.html

1 Answer

1

System.IO is supported in all platform except for web player.
If you have any doubt reagading compactability check this page always.


Application.persistentDataPath+“//yourfile.extension”. you can save your files to this location.