Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString *unzipFolder = [[CommonFunctions getCachePath]stringByAppendingPathComponent:@"temp"];
- [[NSFileManager defaultManager] removeItemAtPath:unzipFolder error:&error];
- if([[NSFileManager defaultManager] fileExistsAtPath:unzipFolder])
- {
- NSError *error;
- [[NSFileManager defaultManager] removeItemAtPath:unzipFolder error:&error];
- NSLog@"Error : %@",[error description]);
- }
- else
- {
- NSLog@"File Exists Not Exists");
- }
Add Comment
Please, Sign In to add comment