readToEndOfFileInBackgroundAndNotifyForModes:
バックグラウンドでファイルの最後まで読んで、通知します
-(void)readToEndOfFileInBackgroundAndNotifyForModes:(NSArray *)modes:
解説
バックグラウンドでファイルの最後まで読んで、通知します。
返り値
( void )
なし
引数
( NSArray * )modes
モード
フレームワーク
Foundation
クラス
NSFileHandle
Instance Methods
使用可能
10.0
参照
- acceptConnectionInBackgroundAndNotifyForModes:
- enqueueNotification:postingStyle:coalesceMask:forModes:(NSNotificationQueue)
例文
//バックグラウンドで読んで通知3 [handle3 seekToFileOffset:0]; [handle3 readToEndOfFileInBackgroundAndNotifyForModes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];