发布网友
共1个回答
热心网友
试试这两个// Selects and deselects rows. These methods will not call the delegate methods (-tableView:willSelectRowAtIndexPath: or tableView:didSelectRowAtIndexPath:), nor will it send out a notification.- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UITableViewScrollPosition)scrollPosition;- (void)deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated;