Skip to content

UIBarButtonItem

UIBarButtonItem 用于在 UINavigationBar/UIToolbar 上放置按钮项,支持 title/image/customView 等配置。

UIBarButtonItem 在插件运行时暴露的属性/方法较多。你可以按需通过站内搜索定位具体成员(例如 titleimageenabledcustomViewtargetaction 等)。

当前运行时未额外暴露 UIBarButtonItem 的类成员。

  • 典型用法是配置 target + action 来响应点击。
  • 具体属性/方法建议用站内搜索成员名。
头文件 API 清单

正在加载…

协议:,来源: