UINavigationItem.SetLeftBarButtonItem(UIBarButtonItem, Boolean) 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.
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