XCode Tipp - Files - Move file / Copy file
http://mobiledevelopertips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html NSFileManager *fileMgr = [NSFileManager defaultManager]; NSString *documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; //N SLog(@"The file is%@",url); // Rename the file, by moving the file NSString *filePath = [url path]; NSString *filePath2 = [documentsDirectory stringByAppendingPathComponent:@"start.pdf"]; // Attempt the move if ([fileMgr moveItemAtPath:filePath toPath:filePath2 error:&error] != YES) NSLog(@"Unable to move file: %@", [error localizedDescription]);















