我在一个组中显示tableview
个从XML解析的内容.我想禁用该表上的单击事件(我应该根本无法单击它),该表包含两个组.我要仅禁用第一组的 Select ,而不禁用第二组的 Select .将第二组navigates
的第一行单击到我的管player view
.
如何使特定的组或行可 Select ?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
if(indexPath.section!=0)
if(indexPath.row==0)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:tubeUrl]];
}
谢谢.