再次当用户点击USD Amount Row时,剩余行应为禁用。
我发布了我的尝试代码,请帮助我。
if([SelectedIndexPath containsIndex:indexPath.row])
{
NSString *StrCurrency=[CurrencyArray objectAtIndex:indexPath.row];
NSLog(@"%@",StrCurrency);
if ([StrCurrency isEqualToString:@"USD"]) {
cell.HideView.hidden=NO;
}
else{
cell.HideView.hidden=YES;
}
NSLog(@"selected");
}
else
{
NSLog(@"Unselected");
cell.HideView.hidden=YES;
}