摘要: nav添加左按钮:-(void)viewDidLoad{//...UIBarButtonItem*tableEditBtn=[[UIBarButtonItemalloc]initWithBarButtonSystemItem:UIBarButtonSystemItemEdittarget:selfaction:@selector(toggleEdit:)];[[selfnavigationItem]setLeftBarButtonItem:tableEditBtn];[tableEditBtnrelease];}edit按钮的实现:-(void)toggleEdit:(id)sender{i. 阅读全文
posted @ 2012-05-10 09:27 Maxfong 阅读(211) 评论(0) 推荐(0) 编辑