UIBarButtonItem.SetBackButtonBackgroundImage 메서드

정의

단추의 배경 이미지를 설정할 수 있습니다.

[Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackButtonBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState forState, UIKit.UIBarMetrics barMetrics);
abstract member SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
override this.SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit

매개 변수

backgroundImage
UIImage

단추의 배경 이미지입니다.

이 매개 변수는 null일 수 있습니다.

forState
UIControlState

배경 이미지를 설정할 상태입니다.

barMetrics
UIBarMetrics

에 대한 thte 배경 이미지를 세로로 지정할 막대 메트릭

특성

설명

이 멤버는 UIAppearance 스타일 지정 시스템에 참여합니다. Appearance 속성 및 메서드를 AppearanceWhenContainedIn(Type[]) 참조하세요.

적용 대상