Instance Property


A Boolean value that determines whether or not the session wants to connect to new peers.


@property(getter=isAvailable) BOOL available;


When available is YES, the session is visible to other peers based on its sessionMode property. When available is set to NO, it remains connected to peers, but is no longer visible to nonconnected peers. The default is NO.

Typically, your application configures the session object with a delegate and data receiver, and then sets available to YES. When the delegate finishes connecting to peers, it should set the session’s available property to NO.