开发者

Navigation on click of DetailDisclosureButton?

开发者 https://www.devze.com 2023-02-22 22:29 出处:网络
I am using disclosure btn in UITableViewcell.When i use : cell.accessoryType开发者_StackOverflow社区 = UITableViewCellAccessoryDisclosureIndicator;

I am using disclosure btn in UITableViewcell.When i use :

cell.accessoryType开发者_StackOverflow社区 = UITableViewCellAccessoryDisclosureIndicator;

it navigates to anotherViewController where as when i use following it does not navigate on btn click

cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;

What should I do for navigation on click of DetailDisclosureButton?


handle event here -

- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
0

精彩评论

暂无评论...
验证码 换一张
取 消