开发者

Reusing a xib with a uitableview connected via IBOutlet to a superclass: how is it better add a toolbar with a button only for some subclasses?

开发者 https://www.devze.com 2023-02-20 14:55 出处:网络
I have a xib with a uitableview in it. This table is connected via IBOutlet to a ViewController, root of a hierarchy of view controllers.

I have a xib with a uitableview in it. This table is connected via IBOutlet to a ViewController, root of a hierarchy of view controllers.

Now I have to add a toolbar with a button such that it isn't visible in all the views (controlled by subclasses of the root view controlle开发者_开发问答r).

How can I do it so that the table resizes properly?


[urtoolbar setHidden:YES];

wherever u want to hide

0

精彩评论

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

关注公众号