fix position for uitoolbar (iphone sdk)
I'm wondering if there's a possibility to set a fix position for a toolbar, for example:
In my UIViewController I got an UITableView and an UIToolbar. If the table view have 50 rows, how can I set the toolbar is always at the bottom of the view, so that I don't have to scroll down first to get to the to开发者_JS百科olbar. The toolbar should be shown at anytime.
I hope you know what I mean and thanks in advance for your answers.
SeanIf you have a UINavigationController, and 2.x compatibility is not required, you should use the toolbarItems
property to create a toolbar attached to the controller.
See also What's the right way to add a ToolBar to a UITableView?.
精彩评论