ios 如何将tableviewcell定位到某一行

NSIndexPath *scrollIndexPath = [NSIndexPath indexPathForRow:9 inSection:0];
    [[self MainTable]scrollToRowAtIndexPath:scrollIndexPath        atScrollPosition:UITableViewScrollPositionTop animated:YES];

你可能感兴趣的:(ios 如何将tableviewcell定位到某一行)