开发者

Problem in cut operation in objective c [closed]

开发者 https://www.devze.com 2023-02-19 10:19 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably ans开发者_如何学Cwered in its current form.
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

精彩评论

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