macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

readToEndOfFileInBackgroundAndNotify

Index>Foundation>NSFileHandle

バックグラウンドでファイルの最後まで読んで、通知します

解説

バックグラウンドでファイルの最後まで読んで、通知します。

返り値

( void )

なし

引数

クラス

NSFileHandle

Instance Methods

使用可能

10.0

参照

- acceptConnectionInBackgroundAndNotify
- readToEndOfFileInBackgroundAndNotifyForModes:
- enqueueNotification:postingStyle:coalesceMask:forModes:(NSNotificationQueue)

例文

//バックグラウンドで読んで通知4
[handle3 seekToFileOffset:0];
[handle3 readToEndOfFileInBackgroundAndNotify];