I have an UISegmentedControl
with two buttons. I want each button of control to have specific color of borders and title.
Is is possible and if yes how it can be archived?
I have an UISegmentedControl
with two buttons. I want each button of control to have specific color of borders and title.
Is is possible and if yes how it can be archived?
You can use segmentedControlStyle
property. Which gives you 3 different styles
UISegmentedControlStylePlain, UISegmentedControlStyleBordered, UISegmentedControlStyleBar
. If you want any other appearance, you'll need to make a custom control.