編輯

共用方式為


UINavigationItem.RightBarButtonItems Property

Definition

An array of UIBarButtonItems displayed to the right of the TitleView.

public virtual UIKit.UIBarButtonItem[] RightBarButtonItems { [Foundation.Export("rightBarButtonItems", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setRightBarButtonItems:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.RightBarButtonItems : UIKit.UIBarButtonItem[] with get, set

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Remarks

The UIBarButtonItems are displayed right-to-left. In other words, the UIBarButtonItem at index 0 is the right-most displayed, the one at index 1 is displayed to the left of that, etc.

UIBarButtonItems that would overlap the TitleView are not displayed.

Applies to