Custom UISegmentedControl like the Scope control in UISearchBar

后端 未结 3 1112
孤城傲影
孤城傲影 2021-01-24 17:03

I like to create a UISegmentedControl that looks like the scope button in UISearchBar.

\"enter

3条回答
  •  有刺的猬
    2021-01-24 17:34

    Try this:

    mySegmentedBar.segmentedControlStyle = 7;
    

    It's undocumented, but seems to pass App Store review.

提交回复
热议问题