編輯

共用方式為


UIBarButtonItem.CustomView Property

Definition

A custom view used to represent the UIBarButtonItem

public virtual UIKit.UIView CustomView { [Foundation.Export("customView", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setCustomView:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.CustomView : UIKit.UIView with get, set

Property Value

This value can be null.

Attributes

Remarks

The custom view allows an arbitray UIView to be used for the UIBarButtonItem.

Applies to