Instance Method


Notifies the user activity delegate that an input and output streams are available to open.


- (void)userActivity:(NSUserActivity *)userActivity didReceiveInputStream:(NSInputStream *)inputStream outputStream:(NSOutputStream *)outputStream;



The user activity that is continuing on another device. This user activity's supportsContinuationStreams property must be YES.


The stream from which the originating app can read data written from the continuing app.


The stream to which the originating app writes data to be read by the continuing app.


If supportsContinuationStreams is YES, the continuing app can request streams back to the originating app. This delegate callback is received with the streams from the continuing side. The streams are provided in an unopened state, and the delegate should open them immediately to start communicating with the continuing side.

Continuation streams are an optional feature of Handoff, and most user activities do not need them for successful continuation. When streams are needed, a simple request from the continuing app accompanied by a response from the originating app is enough for most continuation events.

See Also