Edytuj

Udostępnij za pośrednictwem


UINavigationItem.SetLeftBarButtonItem(UIBarButtonItem, Boolean) Method

Definition

Specifies the button to appear on the left-hand side, optionally animating its assignment.

[Foundation.Export("setLeftBarButtonItem:animated:")]
public virtual void SetLeftBarButtonItem (UIKit.UIBarButtonItem item, bool animated);
abstract member SetLeftBarButtonItem : UIKit.UIBarButtonItem * bool -> unit
override this.SetLeftBarButtonItem : UIKit.UIBarButtonItem * bool -> unit

Parameters

item
UIBarButtonItem

Item to display on the left side of the navigation bar, use null to clear it.

This parameter can be null.

animated
Boolean
Attributes

Applies to