Change Height of UISegmentedControl

后端 未结 5 1358
小鲜肉
小鲜肉 2021-01-14 09:14

I am trying to change height of UISegmentedControl using this code:

CGRect frame= mySegmentedControl.frame;
[mySegmentedControl setFrame:CGRectM         


        
5条回答
  •  孤街浪徒
    2021-01-14 09:44

    For me i'm using this mySegmentedControl.frame=CGRectMake(236, 178, 171, 35); and it works like a charme.

    Did you check the frame values?

提交回复
热议问题