• <bdo id='eyECN'></bdo><ul id='eyECN'></ul>
  • <legend id='eyECN'><style id='eyECN'><dir id='eyECN'><q id='eyECN'></q></dir></style></legend>

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

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

      1. 防止 UISearchDisplayController 隐藏导航栏

        Prevent a UISearchDisplayController from hiding the navigation bar(防止 UISearchDisplayController 隐藏导航栏)

          <bdo id='1GJgn'></bdo><ul id='1GJgn'></ul>

              1. <small id='1GJgn'></small><noframes id='1GJgn'>

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

                  本文介绍了防止 UISearchDisplayController 隐藏导航栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  每当用户开始编辑 UISearchDisplayController 的搜索栏时,搜索控制器就会激活并隐藏视图的导航栏,同时呈现搜索表视图.是否可以防止 UISearchDisplayController 隐藏导航栏而不重新实现它?

                  Whenever a user begins editing a UISearchDisplayController's search bar, the search controller becomes active and hides the view's navigation bar while presenting the search table view. Is it possible to prevent a UISearchDisplayController from hiding the navigation bar without reimplementing it?

                  推荐答案

                  iOS 8 引入的新 UISearchController 类有一个属性 hidesNavigationBarDuringPresentation 可以设置为 false,如果你想让导航栏保持可见(默认情况下它仍然是隐藏的).

                  The new UISearchController class introduced with iOS 8 has a property hidesNavigationBarDuringPresentation which you can set to false if you want to keep the navigation bar visible (by default it will still be hidden).

                  这篇关于防止 UISearchDisplayController 隐藏导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  UIImageView Gestures (Zoom, Rotate) Question(UIImageView 手势(缩放、旋转)问题)
                  Responsive website on iPhone - unwanted white space on rotate from landscape to portrait(iPhone上的响应式网站-从横向旋转到纵向时不需要的空白)
                  How to rotate an image 90 degrees on iOS?(如何在 iOS 上将图像旋转 90 度?)
                  How to capture current view screenshot and reuse in code? (iPhone SDK)(如何捕获当前视图屏幕截图并在代码中重用?(iPhone SDK))
                  iOS 6 shouldAutorotate: is NOT being called(iOS 6 shouldAutorotate: 没有被调用)
                  What is the PastryKit Framework?(PastryKit 框架是什么?)

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

                    <tbody id='N0qjh'></tbody>

                  <i id='N0qjh'><tr id='N0qjh'><dt id='N0qjh'><q id='N0qjh'><span id='N0qjh'><b id='N0qjh'><form id='N0qjh'><ins id='N0qjh'></ins><ul id='N0qjh'></ul><sub id='N0qjh'></sub></form><legend id='N0qjh'></legend><bdo id='N0qjh'><pre id='N0qjh'><center id='N0qjh'></center></pre></bdo></b><th id='N0qjh'></th></span></q></dt></tr></i><div id='N0qjh'><tfoot id='N0qjh'></tfoot><dl id='N0qjh'><fieldset id='N0qjh'></fieldset></dl></div>

                          <legend id='N0qjh'><style id='N0qjh'><dir id='N0qjh'><q id='N0qjh'></q></dir></style></legend>
                        • <tfoot id='N0qjh'></tfoot>

                          • <bdo id='N0qjh'></bdo><ul id='N0qjh'></ul>