开发者

Changing width of UISlider programmatically?

I am creating a UISlider programmatica开发者_JS百科lly. 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜