How to move a file from one directory to another in NSFilesystem
As we move a xml file from our project,i.e using the code
[self MoveFilesToMyDocFolder:@"Config.xml"]; and by the met开发者_StackOverflowhod
- (void)MoveFilesToMyDocFolder:(NSString *)destfileName
similarly how can we move a xml file from one directory to another directory.
You can use
moveItemAtPath:toPath:error: or copyItemAtPath:toPath:error:
Pl. refer this page.
加载中,请稍侯......
精彩评论