A Boolean value that determines whether the image changes when the button is highlighted.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
@property(nonatomic) BOOL adjustsImageWhenHighlighted;
Discussion
If YES
, the image is drawn lighter when the button is highlighted. The default value is YES
.