¡@

Home 

2014/10/15 ¤U¤È 10:16:10

iphone Programming Glossary: zipfilepath

How can I use iCloud to synchronize a .zip file between my apps?

http://stackoverflow.com/questions/8047217/how-can-i-use-icloud-to-synchronize-a-zip-file-between-my-apps

@end 5 Now somewhere in your app you need to zip folder and sync with icloud. BOOL zipFolder NSString toCompress zipFilePath NSString zipFilePath BOOL isDir NO NSString documentsDirectory NSSearchPathForDirectoriesInDomains NSDocumentDirectory NSUserDomainMask.. in your app you need to zip folder and sync with icloud. BOOL zipFolder NSString toCompress zipFilePath NSString zipFilePath BOOL isDir NO NSString documentsDirectory NSSearchPathForDirectoriesInDomains NSDocumentDirectory NSUserDomainMask YES objectAtIndex.. pathToCompress else if fileManager fileExistsAtPath pathToCompress subpaths NSArray arrayWithObject pathToCompress zipFilePath documentsDirectory stringByAppendingPathComponent zipFilePath NSLog @ @ zipFilePath ZipArchive za ZipArchive alloc init..