隐藏tooLBar的 某个item,思路实际获取toolbar 的深拷贝,删除掉item, 再赋值给 toolbar
NSMutableArray * items = [inputView.toolBar.items mutableCopy];
[items removeObject:inputView.showPhotoView];
inputView.toolBar.items = items;
隐藏tooLBar的 某个item,思路实际获取toolbar 的深拷贝,删除掉item, 再赋值给 toolbar
NSMutableArray * items = [inputView.toolBar.items mutableCopy];
[items removeObject:inputView.showPhotoView];
inputView.toolBar.items = items;