UIBarButtonItem
UIBarButtonItem 用于在 UINavigationBar/UIToolbar 上放置按钮项,支持 title/image/customView 等配置。
实例成员 (Instance members)
Section titled “实例成员 (Instance members)”UIBarButtonItem 在插件运行时暴露的属性/方法较多。你可以按需通过站内搜索定位具体成员(例如 title、image、enabled、customView、target、action 等)。
类成员 (Class members)
Section titled “类成员 (Class members)”当前运行时未额外暴露 UIBarButtonItem 的类成员。
- 典型用法是配置
target+action来响应点击。 - 具体属性/方法建议用站内搜索成员名。