我用方法- (BOOL)tableView:(UITableView *)tableView shouldHighlightRowAtIndexPath:(NSIndexPath *)indexPath NS_AVAILABLE_IOS(6_0);
当用户在单元格中点击时,iOS 6 中的此方法被调用
苹果写到:
// -tableView:shouldHighlightRowAtIndexPath: 在触摸一行时调用。// 向该消息返回 NO 会停止选择过程,并且不会导致当前选定的行在触摸按下时失去其选定的外观。
但在 iOS 7 中,即使我尝试滚动我的UITableView
. 为什么?谢谢!