开发者

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.

Sean


If 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?.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜