ios - 我需要制作一个同时显示文本和图像的 UISegmentedControl

标签 ios objective-c cocoapods uisegmentedcontrol

我需要有一个 UISegmentedControl 在我的选择中有图像和文本,如附图所示。这怎么可能?

enter image description here

最佳答案

使用 BWSegmentControl 来同时选择图像和文本,

https://github.com/MendyK/BWSegmentedControl

关于ios - 我需要制作一个同时显示文本和图像的 UISegmentedControl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36857541/

相关文章:

iphone - 如何自动调整子层大小

ios - 从 Parse.com 查询数组到数组

ios - 更改 iPhone 应用程序的语言和布局

objective-c - Cocoa/Obj-C 路径控制 - 你能限制它只选择目录吗?

iphone - 测量 UITableView 滚动性能 - iphone

ios - 核心数据,在实体上设置关系会导致获取结果 Controller 委托(delegate)回调出错

iphone - 如何知道在我的搜索显示 Controller 的搜索中选择的整个表格 View 中的行?

swift - 为什么我的 pod 导入突然停止工作?

ios - Swift 中的 CocoaPods 和 Realm

objective-c - 具有cocoapods obj-c依赖性的swift项目