A network browser you can use to discover new accessories in a home.
SDK
- iOS 8.0+
Framework
- Home
Kit
Declaration
class HMAccessoryBrowser : NSObject
Overview
Discovering new network accessories is an expensive operation in terms of time and power. Only start searching for new accessories when the user explicitly asks to do so, and stop searching as soon as the user has chosen the new accessories to add to their home.
Important
To enable a consistent user experience across HomeKit enabled apps, use either the add
or the add
method of the HMHome
class instead of an accessory browser. These calls manage all the details of the accessory search process for you.