UINavigationBar.SetItems(UINavigationItem[], 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.
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