samvermette / SVSegmentedControl

A UISwitch-like segmented control for your iOS app.

Home Page:http://samvermette.com/255

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing Properties after Initialization

rosskimes opened this issue · comments

I have having some problems when changing the height and segmentPadding after the view has been placed. I have to resize a bit in landscape, but the view is not changing at all. I even tried calling setNeedsDisplay: on it.

Other than that, it is working great. Keep up the good work.

Indeed, I was aware of this but decided there wouldn't be a use case where you'd be changing the height/padding once the view is added. Totally forgot about orientation change. Will get this fixed shortly, thanks!

Awesome. Thanks!