0

有没有办法让我的 UINavigationController 高度达到一定的大小?我不希望它占据整个高度?我想在底部放一个工具栏。或者有没有首选的方法来做到这一点?

4

2 回答 2

1

You can add the bottom toolbar as subview of the viewcontroller. There is no need for resizing

于 2013-02-01T06:18:00.940 回答
1

Your question doesn't make sense. A controller doesn't have a height.
You might be talking about the UINavigationBar but it does not take the entire height if the screen. And if you are using a UINavigationController, then you also have a toolbar as a property all set up for you.

Just set the toolbarItems property in your view controller.
Reference

于 2013-02-01T06:18:08.563 回答