Change Height of UISegmentedControl

后端 未结 5 1359
小鲜肉
小鲜肉 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:49

    To do it inside Interface Builder you can select the control and add frame attribute under "User Defined Runtime Attributes"

    adding frame attribute inside Interface Builder

提交回复
热议问题