Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 xcode 中,您可以实现一个段控制器,但它只允许一次选择一个!制作这样的东西最简单的方法是什么?
UISegmentedControl 无法做到这一点。您可以做的是创建一些 UIButtons 并为它们设置自定义的选定状态图像,以便您知道它们何时被选中。
使用来自 Github 的ATHMultiSelectionSegmentedControl
这是Cocoapod