• <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 隐藏导航栏

        时间:2023-05-16

          <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 隐藏导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何检查视图控制器是否以模态方式呈现或推送到导航堆栈上? 下一篇:UINavigationController“后退按钮"自定义文本?

                  相关文章

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

                  <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>
                    1. <tfoot id='N0qjh'></tfoot>

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