zoukankan      html  css  js  c++  java
  • navigation添加右侧可编辑或者删除按钮

      

        //navigation添加右侧可编辑或者删除按钮

        UIBarButtonItem *editButton = [[UIBarButtonItemalloc ]

                                       initWithTitle:@"Delete" 

                                       style:UIBarButtonItemStyleBordered 

                                       target:self

                                       action:@selector(toggleEdit:)];

        self.navigationItem.rightBarButtonItem = editButton;

        

        [editButton release];

  • 相关阅读:
    学习进度14
    学习进度13
    学习进度12
    2020.12.01 表单元素
    2020.12.02 表单属性
    2020.12.04
    2020.12.06
    2020.12.07
    2020.12.08 URL
    2020.12.09
  • 原文地址:https://www.cnblogs.com/zander/p/2591151.html
Copyright © 2011-2022 走看看