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.
如何去除分段控件角落周围的多余颜色?
尝试改变拐角半径,
[self. segmentedControl.layer setCornerRadius:5.0];
将其背景颜色更改为透明:
self.segmentedControl.backgroundColor = [UIColor clearColor];
(如果可以的话,最好在 XIB 中这样做)