UIToolbar.SetItems(UIBarButtonItem[], Boolean) Method

Definition

Sets the UIBarButtonItem to be displayed in the toolbar, optionally animated the change.

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

Parameters

items
UIBarButtonItem[]

A list of UIBarButtonItem objects to display in the toolbar.

animated
Boolean

If true, then the changes to the UIBarButtonItems is animated.

Attributes

Applies to