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.
我有一个有 4 种不同选择的分段控件。基本上,分段控制只接受 1 种选择,是否有可能让用户选择超过 1 种选择?我需要什么设置/代码?
不可能。UISegmentedControl您需要使用UIButton等来创建自己的自定义UILabel。
UISegmentedControl
UIButton
UILabel