writeToFile:withAttributes:
ファイルに書き出します
-(BOOL)writeToFile:(NSString *)fileName: withAttributes:(NSDictionary *)attributes:
解説
ファイルに書き出します。
【attributes】
●QTMovieExport NSNumber(BOOL) 書き出し設定
●QTMovieExportType NSNumber(long) 書き出しタイプ
●QTMovieFlatten NSNumber(BOOL) フラット化するか
●QTMovieExportSettings 書き出し設定
●QTMovieExportManufacturer NSNumber(long) 書き出しmanufacturer値
返り値
( BOOL )
YES/NO
引数
( NSString * )fileName
ファイルパス
( NSDictionary * )attributes
アトリビュート
フレームワーク
QtKit
クラス
QTMovie
Instance Methods
使用可能
10.4
参照
-movieFormatRepresentation
例文
NSMutableDictionary* attribute = [NSMutableDictionary dictionary]; [attribute setObject:[NSNumber numberWithBool:YES] forKey:QTMovieFlatten]; [movie writeToFile:[savePanel filename] withAttributes:attribute];