interfaceMode()
The current mode for the interface.
Declaration
func interfaceMode() -> CWInterfaceModeDiscussion
Dynamically queries the interface for the current mode. Returns kCWInterfaceModeNone in the case of an error, or if the interface is not participating in a network.