Modifica

Condividi tramite


UINavigationBar.SetItems(UINavigationItem[], Boolean) Method

Definition

Replaces the current set of navigation items with items, optionally animating the change of the top item.

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

Parameters

items
UINavigationItem[]

UINavigationItems managed by the bar.

animated
Boolean

Set to true, if the navigation bar should be animated. Otherwise set to false.

Attributes

Applies to