UIToolbar on each page of UINavigationController

前端 未结 3 587
别跟我提以往
别跟我提以往 2021-02-05 22:17

I have an application which runs on a UINavigationController. Now I would like to add a UIToolbar element to the bottom of each screen. The Toolbar on the bottom should the be c

3条回答
  •  被撕碎了的回忆
    2021-02-05 23:05

    From a design perspective I would not recommend this UNLESS you know the toolbar will be present for each view in the stack. The second you start hiding/showing the toolbar for different views in the stack you will see that that animation (toolbar slides out/in with views) doesn't animate like you expect.

    If you need toolbars for specific views put them in those views, since toolbar are contextual to the view, not to the nav stack as a whole.

提交回复
热议问题