---
title: adjustsImageWhenDisabled
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/adjustsimagewhendisabled
---

# adjustsImageWhenDisabled

A Boolean value that determines whether the image changes when the button is disabled.

## Declaration

```swift
var adjustsImageWhenDisabled: Bool { get set }
```

## Discussion

Discussion If true, the image is drawn darker when the button is disabled. The default value is true.

## See Also

### Button presentation

- [adjustsImageWhenHighlighted](uikit/uibutton/adjustsimagewhenhighlighted.md)
- [showsTouchWhenHighlighted](uikit/uibutton/showstouchwhenhighlighted.md)
