Friday, September 3, 2010

Add Discloserbutton in tableview n do sumthing on click

- (UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath
{
return UIButtonTypeDetailDisclosure;
}

- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
{
//Do what you want here.
}

No comments:

Post a Comment