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?
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 :)
精彩评论