UIViewController.SetToolbarItems(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.
Adds UIBarButtonItems to the UIToolbar
[Foundation.Export("setToolbarItems:animated:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetToolbarItems (UIKit.UIBarButtonItem[] items, bool animated);
abstract member SetToolbarItems : UIKit.UIBarButtonItem[] * bool -> unit
override this.SetToolbarItems : UIKit.UIBarButtonItem[] * bool -> unit
Parameters
- animated
- Boolean
Whether the addition of the buttons should be animated.
- Attributes
Remarks
This method can be used to add UIBarButtonItems to a UINavigationController’s UIToolbar.