// 默认选中第一行只执行一次(否则有BUG)
if (!isRuned) {
NSIndexPath *firstPath = [NSIndexPathindexPathForRow:0inSection:0];
[m_tableViewselectRowAtIndexPath:firstPath animated:YESscrollPosition:UITableViewScrollPositionTop];
isRuned = YES;
}
时间: 2024-08-03 01:18:27