自定义UISegmentedControl,如Tinder - Swift 3

时间:2016-10-19 11:08:24

标签: ios swift xcode uisegmentedcontrol tinder

如何自定义UISegmentedControl?像这样:

enter image description here

我正在使用Xcode 8和Swift 3 如果你能提供帮助,我将不胜感激。感谢。

1 个答案:

答案 0 :(得分:4)

您可以从LUNSegmentedControl

获取UISegmentControl

它是在对象C中,但你可以在swift中转换它,并可以在你的项目中使用它。