UIButton.UIButtonAppearance.SetImage(UIImage, UIControlState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the UIImage for the specified state.
[Foundation.Export("setImage:forState:")]
public virtual void SetImage (UIKit.UIImage image, UIKit.UIControlState forState);
abstract member SetImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetImage : UIKit.UIImage * UIKit.UIControlState -> unit
Parameters
- image
- UIImage
- forState
- UIControlState
- Attributes