zoukankan      html  css  js  c++  java
  • ios导航条添加按钮

    UIBarButtonItem *btnSave = [[UIBarButtonItem alloc]
                                        initWithTitle:@"Save"                                            
                                        style:UIBarButtonItemStyleBordered
                                        target:self
                                     action:@selector(save_Clicked:)];
         self.navigationItem.rightBarButtonItem = btnSave;
         [btnSave release];

         UIBarButtonItem *btnCancel = [[UIBarButtonItem alloc]
                                        initWithTitle:@"Cancel"                                            
                                        style:UIBarButtonItemStyleBordered
                                        target:self
                                        action:@selector(save_Clicked)];
         self.navigationItem.leftBarButtonItem = btnCancel;
         [btnCancel release];

  • 相关阅读:
    工科物理实验()中国大学MOOC答案(已更新)
    类似jar文件使用java无法打开问题
    python9、10章
    nmap的理解与利用(初级)
    常见端口
    配置优化
    删除表操作
    万能的map
    测试
    Mapper.xml
  • 原文地址:https://www.cnblogs.com/mazhiyong/p/2542080.html
Copyright © 2011-2022 走看看