Tells the delegate that the home manager updated its collection of homes.
SDKs
- iOS 8.0+
- tvOS 10.0+
- watchOS 2.0+
Framework
- Home
Kit
Declaration
optional func homeManagerDidUpdateHomes(_ manager: HMHome Manager)
Parameters
manager
The home manager with updated homes.
Discussion
The home manager calls this method to inform an application of significant changes to the home configuration, including when the manager finishes its first load of data from the HomeKit database on initialization. Use this method as a cue to invalidate any references to HomeKit objects and refresh your app’s views with the new list of homes.