加上这句,导航栏就有一个按钮(编辑/完成)
self.navigationItem.leftBarButtonItem = self.editButtonItem;
响应方法
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[supersetEditing:editinganimated:animated];
}
加上这句,导航栏就有一个按钮(编辑/完成)
self.navigationItem.leftBarButtonItem = self.editButtonItem;
响应方法
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[supersetEditing:editinganimated:animated];
}
本文标题:iOS导航栏系统按钮
本文链接:https://www.haomeiwen.com/subject/bdcxuqtx.html
网友评论