【发布时间】:2011-05-01 03:45:44
【问题描述】:
我想为UITableView 选择索引。
我写了以下代码:
NSIndexPath *index = [NSIndexPath indexPathForRow:1 inSection:0];
[tableView scrollToRowAtIndexPath:index
atScrollPosition:UITableViewScrollPositionTop
animated:YES];
这始终适用于第一项。我想在indexPathForRow.中选择索引
请帮忙。 谢谢。
【问题讨论】:
标签: ios objective-c iphone uitableview nsindexpath