摘要:
nav添加左按钮:-(void)viewDidLoad{//...UIBarButtonItem*tableEditBtn=[[UIBarButtonItemalloc]initWithBarButtonSystemItem:UIBarButtonSystemItemEdittarget:selfaction:@selector(toggleEdit:)];[[selfnavigationItem]setLeftBarButtonItem:tableEditBtn];[tableEditBtnrelease];}edit按钮的实现:-(void)toggleEdit:(id)sender{i. 阅读全文