<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMAccessoryDelegate/accessoryDidUpdateServices(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(pl)HMAccessoryDelegate(im)accessoryDidUpdateServices:"
  },
  "title" : "accessoryDidUpdateServices(_:)"
}
-->

# accessoryDidUpdateServices(_:)

Informs the delegate when the services on the accessory have been updated.

```
optional func accessoryDidUpdateServices(_ accessory: HMAccessory)
```

## Parameters

`accessory`

The accessory whose list of services has been updated.

## Discussion

Accessories provide their services via the [`services`](/documentation/HomeKit/HMAccessory/services) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)