iOS导航栏系统按钮
2019-02-27 本文已影响0人
CYC666
加上这句,导航栏就有一个按钮(编辑/完成)
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];
}