开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜