¿Tipos de archivos válidos para iCloud?

I find many similar question but i didn't get solution for this.

Is it possible to upload some file like image, document, zip file to upload on iCloud programmatically?

preguntado el 08 de noviembre de 11 a las 11:11

@jbat100, i have seen all the document but they have write only document, not anything else like video, audio, zip, image, etc. My question is, "can we you upload video, audio, zip, image, etc to iCloud or not?" -

2 Respuestas

See table 4-1 in the documentation:

How do you manage the data? Manage files and directores using the NSFileManager class. Open, close, read, and write files using standard file system routines.

So if you can create a file, you can store it in iCloud. But remember there's a finite, relatively small amount of space available.

respondido 08 nov., 11:15

But Suppose i have integrate in-app purchase and i don't want user to buy in all its iDevice so what i want is downloaded zip upload to user iCloud and user can access it in all his/her iDevice. - Desarrollador oculto

You want to upload files to iCloud afuera your iOS app? It's really not clear from your question that that is what you want to do. - Stephen Darlington

I had develop one application in which i want to create functionality which will upload file (ZIP which is downloaded from server) to iCloud. Is it possible (within application only)? - Desarrollador oculto

You can upload any file to iCloud. It doesn't matter where the file originally came from. (But, if you can just download the file, what's the point of saving it to iCloud?) - Stephen Darlington

Can i upload video files (size 5mb) from ios custom application - Ravi Ojha

iCloud can handle all kinds of files. So if you want rot use an obscure file format or invent your own, go for it. It only can to be converted into a byte stream/NSData, but then again, what isn't?

Check this tutorial walkthrough app. It shows how to create, modify and delete files for iCloud.


respondido 25 nov., 11:19

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.