Custom UISegmentedControl

后端 未结 10 2087
我寻月下人不归
我寻月下人不归 2020-12-04 10:23

How do I make a custom UISegmentedControl?

I have 2 images, 1 that should be displayed when the segment is active and the other if the segment is inacti

10条回答
  •  臣服心动
    2020-12-04 10:40

    it works just fine

    [segmentControl setImage:[UIImage imageNamed:@"Rolenew.png"] forSegmentAtIndex:0];
    

提交回复
热议问题