开发者

Objective C: How to add toolbar in NIB when Navigation controller was implemented using code

I have implemented my navigation controller and UITable View without using a NIB so far. Is it possible to add a toolbar into my UITable View (in navigation controller) using the NIB at this point of time?

Objective C: How to add toolbar in NIB when Navigation controller was implemented using code

I tried to drag a toolbar to the View Window in the NIB and also hooked it up with an I开发者_高级运维BOutlet, however, nothing is displayed when I compile and run the code.

Any advice on this is greatly appreciated.

Zhen


My guess is your tableview covers toolbar if you set its size improperly. You can also try bring your toolbar to front by

[self.view bringSubviewToFront:toolBar]

Hope this help :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜