인터넷을 통해 anwser를 찾을 수 없습니다.이 작업을 수행 할 수도 있습니다.삭제할 때 UITableView에 (확인) 삭제 단추를 "표시하지 않는"방법?
시도 할 때 편집 모드에서 삭제 버튼을 사용하지 못하게 할 수 있습니까? 한 항목을 삭제 하시겠습니까?
인터넷을 통해 anwser를 찾을 수 없습니다.이 작업을 수행 할 수도 있습니다.삭제할 때 UITableView에 (확인) 삭제 단추를 "표시하지 않는"방법?
시도 할 때 편집 모드에서 삭제 버튼을 사용하지 못하게 할 수 있습니까? 한 항목을 삭제 하시겠습니까?
- (UITableViewCellEditingStyle)tableView:(UITableView *)aTableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath {
// Detemine if the user can edit the comment.
if (something) {
return UITableViewCellEditingStyleDelete;
}
return UITableViewCellEditingStyleNone;
}
는 http://stackoverflow.com/questions/3230615/uitableview-swipe-to-delete-with-no-confirmation –