• <tfoot id='7vIMD'></tfoot>
  • <small id='7vIMD'></small><noframes id='7vIMD'>

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

        如何隐藏“背部"?UINavigationController 中的按钮?

        时间:2023-05-17
      2. <tfoot id='nyDnu'></tfoot>
        <i id='nyDnu'><tr id='nyDnu'><dt id='nyDnu'><q id='nyDnu'><span id='nyDnu'><b id='nyDnu'><form id='nyDnu'><ins id='nyDnu'></ins><ul id='nyDnu'></ul><sub id='nyDnu'></sub></form><legend id='nyDnu'></legend><bdo id='nyDnu'><pre id='nyDnu'><center id='nyDnu'></center></pre></bdo></b><th id='nyDnu'></th></span></q></dt></tr></i><div id='nyDnu'><tfoot id='nyDnu'></tfoot><dl id='nyDnu'><fieldset id='nyDnu'></fieldset></dl></div>
        • <bdo id='nyDnu'></bdo><ul id='nyDnu'></ul>
              <tbody id='nyDnu'></tbody>

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

                <legend id='nyDnu'><style id='nyDnu'><dir id='nyDnu'><q id='nyDnu'></q></dir></style></legend>

                  本文介绍了如何隐藏“背部"?UINavigationController 中的按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  你知道如何在 UINavigationController 中隐藏返回"按钮吗?还有,怎么显示回来,不过我想这和隐藏很相似……

                  Do you know how to hide the 'back' button in a UINavigationController? Also, how to show it back, but I guess that's very similar to hiding it...

                  就像您在查看电子邮件时点击编辑"时 iPhone 上的邮件应用程序一样.

                  Just like the mail application does on the iPhone when you hit 'Edit' while viewing emails.

                  推荐答案

                  我刚刚找到答案,在控制器中使用这个:

                  I just found out the answer, in a controller use this:

                  [self.navigationItem setHidesBackButton:YES animated:YES];
                  

                  然后恢复它:

                  [self.navigationItem setHidesBackButton:NO animated:YES];
                  

                  --

                  [更新]

                  斯威夫特 3.0:

                  self.navigationItem.setHidesBackButton(true, animated:true)
                  

                  这篇关于如何隐藏“背部"?UINavigationController 中的按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 uinavigationcontroller 中转换为横向旋转 下一篇:如何从推送的控制器中获取 RootViewController?

                  相关文章

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

                  3. <legend id='qwJgr'><style id='qwJgr'><dir id='qwJgr'><q id='qwJgr'></q></dir></style></legend>

                  4. <tfoot id='qwJgr'></tfoot>