copyPath:toPath:handler:
指定したパスのファイルを指定した宛先にコピーします
-(BOOL)copyPath:(NSString *)source: toPath:(NSString *)destination: handler:()handler:
解説
指定したパス(source)のファイルを指定した宛先(destination)にコピーします。
返り値
( BOOL )
YES/NO
引数
( NSString * )source
コピー元
( NSString * )destination
コピー先
( )handler
ハンドラ
フレームワーク
Foundation
クラス
NSFileManager
Instance Methods
使用可能
10.0
参照
例文
[[NSFileManager defaultManager] copyPath:source toPath:dest handler:nil];