ios - iCloud Documents not visible -
I am trying to use iCloud documents to store XML files from your iOS app have everything worked fine My app's files are not included in iCloud.com (Icloud.com) and neither in developer.icloud.com nor iCloud Drive folder on my Windows PC except by doing (I can write and read files without errors) Are visible in I was running the app in the simulator and tested with testflights on a real device. I have the latest version of iCloud installed for Windows 4.0. The app is built in Xcode 6.
Do anyone know how files look in Iclyde documents?
The code that I am using to save the file:
NSLog (@ "Sync with iCloud"); NSURL * ubiq = [filemgr URLForUbiquityContainerIdentifier: zero]; If (ubiq) {NSURL * Universal Package = [ubiq URLByAppendingPathComponent: @ "Document" is Directory: Yes]; If ([filemgr Failvistaraattpath: [universal package path]] == not [file MRR Bnaaadiroritiattuarel: Sathintrmeedet ubiquitous package directories: Yes Features: zero error: zero]; ubiquitous package = [universal package URLByAppendingPathComponent: @ "data.pxa"] ; Datafile * file = [[datafile light] initWithFileURL: omnibox package); File.xmlContent = doc.XMLString; [File saveToURL: [file fileURL] For service operation: UIDocumentSaveForCreating | Uaidinumentsvvovrlekn Smapanhandlr: ^ (success of Bell) {if (success) {Anselog (@ "Sinked with iCloud:% @", [universal package path]); } And {nslog (@ "sinking with iCloud failed"); }}]; } And {nslog (@ "iCloud is not available"); }
I view the files created by my app in iCloudDrive I follow. I get the system settings & gt; ICloud & gt; The file from the archive is showing Hope it helps.
Comments
Post a Comment