0

I want to have two rows in my navigation bar instead of the usual one. The top row will display a navigation bar title, cancel, and a save button. The bottom one (right under it) will display some icons with text. I want to be able to use something like:

[[self navigationController] setNavigationBarHidden:YES animated:YES];

to hide the bottom row when the user taps on the top row or scrolls down.

A bunch of apps like LinkedIn use this feature.

Any ideas?

4

1 回答 1

2

使用导航栏下方的工具栏是一个更好的主意,因为导航栏会自动获取返回按钮等。您可以像隐藏任何其他 ui 组件一样隐藏工具栏。工具栏也有按钮。

于 2013-10-28T18:26:20.330 回答