Tôi đã tạo phương thức - (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath {
cho UITableViewCellAccessoryDetailDisclosureButton
.Có sự khác biệt nào giữa UITableViewCellAccessoryDetailDisclosureButton và UITableViewCellAccessoryDisclosureIndicator
Bây giờ tôi muốn sử dụng UITableViewCellAccessoryDisclosureIndicator
thay cho UITableViewCellAccessoryDetailDisclosureButton
.
Có sự khác biệt nào giữa UITableViewCellAccessoryDetailDisclosureButton
và UITableViewCellAccessoryDetailDisclosureButton
không?
làm thế nào tôi có thể gọi tableView: accessoryButtonTappedForRowWithIndexPath: phương pháp bằng cách sử dụng UITableViewCellAccessoryDisclosureIndicator ??? ... hoặc làm thế nào tôi có thể sử dụng nút tùy chỉnh trên UITableViewCellAccessoryDetailDisclosureButton để nó có thể thực hiện hành động bằng cách chạm vào nó .. ?? – Varsha
Tạo một nút với mục tiêu/hành động và gán nó làm chế độ xem phụ kiện. Bỏ qua phương thức tableView: accessoryButtonTappedForRowWithIndexPath:. – EmptyStack
bạn có thể giải thích nó không ??, ... làm cách nào tôi có thể thêm nút trên UITableViewCellAccessoryDetailDisclosureButton ??? .. – Varsha