【发布时间】:2010-03-13 21:59:53
【问题描述】:
我的代码如下所示:
NSIndexPath *ip = [NSIndexPath indexPathForRow:15 inSection:0];
[[self tableView] selectRowAtIndexPath:ip animated:YES scrollPosition:UITableViewScrollPositionMiddle];
// Pause needed here until animation finishes
[[self navigationController] pushViewController:secondView animated:YES];
现在它动画行的滚动/选择并同时推动视图控制器。我希望它做的是等到它完成滚动/选择,然后推送视图控制器。有什么可能的方法吗?谢谢
【问题讨论】:
标签: iphone xcode uitableview animation