編輯

共用方式為


UINavigationItem.SetHidesBackButton(Boolean, Boolean) Method

Definition

Sets whether the back button is hidden, with the option to animate the change.

[Foundation.Export("setHidesBackButton:animated:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetHidesBackButton (bool hides, bool animated);
abstract member SetHidesBackButton : bool * bool -> unit
override this.SetHidesBackButton : bool * bool -> unit

Parameters

hides
Boolean

true to hide the button.

animated
Boolean
Attributes

Applies to