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

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

        在 iOS7 中删除后退箭头

        时间:2023-06-12

        <small id='8PjLu'></small><noframes id='8PjLu'>

            <tbody id='8PjLu'></tbody>
            • <bdo id='8PjLu'></bdo><ul id='8PjLu'></ul>

                • <legend id='8PjLu'><style id='8PjLu'><dir id='8PjLu'><q id='8PjLu'></q></dir></style></legend><tfoot id='8PjLu'></tfoot>
                  <i id='8PjLu'><tr id='8PjLu'><dt id='8PjLu'><q id='8PjLu'><span id='8PjLu'><b id='8PjLu'><form id='8PjLu'><ins id='8PjLu'></ins><ul id='8PjLu'></ul><sub id='8PjLu'></sub></form><legend id='8PjLu'></legend><bdo id='8PjLu'><pre id='8PjLu'><center id='8PjLu'></center></pre></bdo></b><th id='8PjLu'></th></span></q></dt></tr></i><div id='8PjLu'><tfoot id='8PjLu'></tfoot><dl id='8PjLu'><fieldset id='8PjLu'></fieldset></dl></div>
                  本文介绍了在 iOS7 中删除后退箭头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想加入一个自定义后退按钮 - 我可以使用

                  I want to incorporate a custom back button - I'm able to get the above result using

                  self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"back-btn"] style:UIBarButtonItemStylePlain target:nil action:nil];
                  

                  但是如何移除原生的蓝色按钮呢?

                  but how do you remove the native blue button?

                  推荐答案

                  感谢所有回答者 - 找到了一种更简单的方法......

                  Thanks to all the answerers - found a simpler way of doing it...

                  self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"back-btn"] style:UIBarButtonItemStylePlain target:self action:@selector(backButtonAction:)];
                  self.navigationItem.leftBarButtonItem.tintColor = [UIColor whiteColor];
                  
                  [self.navigationItem setHidesBackButton:YES animated:NO];
                  [self.navigationItem setBackBarButtonItem:nil];
                  
                  -(void) backButtonAction:(id)sender
                  {
                      [self.navigationController popViewControllerAnimated:YES];
                  }
                  

                  这篇关于在 iOS7 中删除后退箭头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何从 MODAL 视图控制器中隐藏 iPad 键盘? 下一篇:UINavigationController 中仅支持一个视图的横向

                  相关文章

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

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

                      <bdo id='NSiTs'></bdo><ul id='NSiTs'></ul>