i use IB and dis select Show selection on touch but it still show blue highlight on cell that selected
+3
A:
You should do it in the method
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier2];
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
}
}
Hope this helps.
Thanks, Madhup
Madhup
2010-01-27 05:19:03
I am wondering the same thing. The IB property seems to be ignored.
fnCzar
2010-09-08 17:59:13