开发者

Problem in cut operation in objective c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably ans开发者_如何学Cwered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

i am working on file manager application and i have to perform copy paste and cut file operation. i done the copy paste operation. but how can i do the cut file operation.


The difference between copy and cut is that cut will move the item instead of copying it, so this is what you want to use:

[NSFileManager moveItemAtPath:path1 toPath:path2 error:&error];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜