<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButton/setNeedsUpdateConfiguration()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIButton(im)setNeedsUpdateConfiguration"
  },
  "title" : "setNeedsUpdateConfiguration()"
}
-->

# setNeedsUpdateConfiguration()

Requests the system update the button configuration.

```
func setNeedsUpdateConfiguration()
```

## Discussion

Call this method to make the system call [`updateConfiguration()`](/documentation/UIKit/UIButton/updateConfiguration()). The system calls this method automatically when the button’s state changes. If you call this method multiple times before the system calls [`updateConfiguration()`](/documentation/UIKit/UIButton/updateConfiguration()), the system calls [`updateConfiguration()`](/documentation/UIKit/UIButton/updateConfiguration()) once.

---

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)