Custom UIButton for Iphone

前端 未结 4 739
梦毁少年i
梦毁少年i 2020-12-23 12:49

I have an view in my App which has a number of buttons based on the number of items returned by the server. So if the server returns say 10 items, there should be 10 buttons

4条回答
  •  無奈伤痛
    2020-12-23 13:15

    Shouldn't you be calling initWithFrame: rect instead of:

        HopitalButton* hb = [[HopitalButton alloc] init];
    

提交回复
热议问题