Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Feb 25th, 2013  |  syntax: None  |  size: 0.29 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. fileName   is  /var/mobile/Applications/27xxxxxx/Documents/19_July_2012_11_28_02.png
  2. n-19_July_2012_11_28_02.png
  3. iCloudFile is  /private/var/mobile/Library/Mobile Documents/3GXXXXXX/Documents/19_July_2012_11_28_02.png
  5. [fileManager  copyItemAtPath:fileName toPath:iCloudFile error:&error];
clone this paste RAW Paste Data