iOS: change the height of UISegmentedcontrol

DavidNg picture DavidNg · Aug 19, 2012 · Viewed 51.6k times · Source

I am trying to change the height of UISegmentedcontrol, but it is not allowed in the Interface Builder. Is there any way to change or it is impossible?

Thanks

Answer

Ji Fang picture Ji Fang · Jul 11, 2013

Adding a constraint in IB will also do the trick:

Constraint in IB