Reputation: 6247
I am creating a UISlider
programmatically. When initializing it, I use initWithFrame
and pass in CGRect
and it doesn't have any effect. I thought maybe I can change it after I initialize but still nothing...I can change it via I.B. so there's got to be a way to change it's width.
Upvotes: 0
Views: 2639
Reputation: 862
You definitely can specify the width of the slider by using initWithFrame or changing the bounds of it. There has to be something else going on here that's preventing it from working.
Upvotes: 2