1. <tfoot id='oybz3'></tfoot>

      <small id='oybz3'></small><noframes id='oybz3'>

    2. <i id='oybz3'><tr id='oybz3'><dt id='oybz3'><q id='oybz3'><span id='oybz3'><b id='oybz3'><form id='oybz3'><ins id='oybz3'></ins><ul id='oybz3'></ul><sub id='oybz3'></sub></form><legend id='oybz3'></legend><bdo id='oybz3'><pre id='oybz3'><center id='oybz3'></center></pre></bdo></b><th id='oybz3'></th></span></q></dt></tr></i><div id='oybz3'><tfoot id='oybz3'></tfoot><dl id='oybz3'><fieldset id='oybz3'></fieldset></dl></div>
    3. <legend id='oybz3'><style id='oybz3'><dir id='oybz3'><q id='oybz3'></q></dir></style></legend>

          <bdo id='oybz3'></bdo><ul id='oybz3'></ul>
      1. 如何创建 pinterest 风格的隐藏/取消隐藏导航/标签栏?

        时间:2023-06-10

          <bdo id='m1dvE'></bdo><ul id='m1dvE'></ul>
          <legend id='m1dvE'><style id='m1dvE'><dir id='m1dvE'><q id='m1dvE'></q></dir></style></legend>
          • <i id='m1dvE'><tr id='m1dvE'><dt id='m1dvE'><q id='m1dvE'><span id='m1dvE'><b id='m1dvE'><form id='m1dvE'><ins id='m1dvE'></ins><ul id='m1dvE'></ul><sub id='m1dvE'></sub></form><legend id='m1dvE'></legend><bdo id='m1dvE'><pre id='m1dvE'><center id='m1dvE'></center></pre></bdo></b><th id='m1dvE'></th></span></q></dt></tr></i><div id='m1dvE'><tfoot id='m1dvE'></tfoot><dl id='m1dvE'><fieldset id='m1dvE'></fieldset></dl></div>
            1. <tfoot id='m1dvE'></tfoot>
                <tbody id='m1dvE'></tbody>

                  <small id='m1dvE'></small><noframes id='m1dvE'>

                  本文介绍了如何创建 pinterest 风格的隐藏/取消隐藏导航/标签栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何创建隐藏/取消隐藏导航栏,就像 pinterest 和许多其他应用正在做的那样?我知道基本思想是使用 UIScrollView 委托并检测我是向上还是向下滚动并基于此显示导航栏.那么如果导航栏被隐藏,我是否也应该调整导航控制器视图高度?这是如何工作的?

                  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 scrolling up or down and show the nav bar based on that. So should I also adjust the navcontroller view height if the nav bar is hidden? How does this work?

                  推荐答案

                  我在 github 上有一个示例项目,它完全按照 pinterest/piictu 样式隐藏 UINavigationController/UITabBarController 的东西"

                  I have a sample project located on github that does exactly the pinterest/piictu style 'hide the UINavigationController / UITabBarController stuff'

                  https://github.com/tonymillion/ExpandingView

                  这篇关于如何创建 pinterest 风格的隐藏/取消隐藏导航/标签栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:将navigationBar背景图片设置为[UIImage new]后恢复 下一篇:iOS - pushViewController 与 presentModalViewController 的区别

                  相关文章

                    <bdo id='cbhrL'></bdo><ul id='cbhrL'></ul>
                  <tfoot id='cbhrL'></tfoot>
                1. <small id='cbhrL'></small><noframes id='cbhrL'>

                2. <legend id='cbhrL'><style id='cbhrL'><dir id='cbhrL'><q id='cbhrL'></q></dir></style></legend>
                3. <i id='cbhrL'><tr id='cbhrL'><dt id='cbhrL'><q id='cbhrL'><span id='cbhrL'><b id='cbhrL'><form id='cbhrL'><ins id='cbhrL'></ins><ul id='cbhrL'></ul><sub id='cbhrL'></sub></form><legend id='cbhrL'></legend><bdo id='cbhrL'><pre id='cbhrL'><center id='cbhrL'></center></pre></bdo></b><th id='cbhrL'></th></span></q></dt></tr></i><div id='cbhrL'><tfoot id='cbhrL'></tfoot><dl id='cbhrL'><fieldset id='cbhrL'></fieldset></dl></div>