tabview 滚动控制

来源:互联网 发布:如何学好犀牛软件 编辑:程序博客网 时间:2024/04/28 19:49

    NSIndexPath *indexPath = [NSIndexPathindexPathForRow:theIndexpathRow inSection:0];

    [self.tableviewscrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTopanimated:YES];