I want to save many images in RESOURCES folder into IOS document folder.
and the read the images from document folder as sprite…
please give me some clues…
I could get the document path as follows:
stringGetiPhoneDocumentsPath ()
{
string path = Application.persistentDataPath.Substring(0, Application.dataPath.Length - 5);
path = path.Substring(0, path.LastIndexOf(‘/’));
returnpath + “/Documents”;
}
I guess you don’t have permission to write to (or read from) a random folder on iOS.
There are some Plugins which are able to save pictures to the gallery and stuff like this… Not 100% sure how they do that but probably they wrap an iOS API.
Can you give me some links about the plugins?
I successfully used the Etcetera Plugin by prime 31 to save pictures to the gallery.
But if you search the asset store you probably find many more which can do this.