UIBarButtonItem.CustomView 属性

定义

用于表示 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

属性值

此值可为 null

属性

注解

自定义视图允许对 UIBarButtonItem 使用仲裁 UIView

适用于