3

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?

Stephen Darlington
  • 51,577
  • 12
  • 107
  • 152
  • http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/iCloud/iCloud.html – jbat100 Nov 08 '11 at 11:24
  • @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?" – HiddenDeveloper Nov 09 '11 at 11:13

2 Answers2

1

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.

Stephen Darlington
  • 51,577
  • 12
  • 107
  • 152
0

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.

http://github.com/lichtschlag/iCloudPlayground

NSSplendid
  • 1,957
  • 1
  • 13
  • 14