how to create pinterest style hiding/unhiding nav/tab bar?

后端 未结 3 678
离开以前
离开以前 2021-02-02 01:18

How do I create a hiding/unhiding nav bar like what pinterest and many other apps is doing? I know the basic idea is to use the UIScrollView delegate and detect whether I am scr

3条回答
  •  无人共我
    2021-02-02 02:06

    I would probably try to create my own root controller with scrollbar as main view and put navigation controller's view into it. You can't use scrollbar inside navbar view then but I believe you don't need it in this very case.

    If this approach doesn't work I would probably create my own controller that mimic navigation controller appearance.

提交回复
热议问题