我在我的 AppDelegate 中使用:
ActivitiesViewController *acController = [[ActivitiesViewController alloc] initWithNibName:@"ActivitiesView" bundle:[NSBundle mainBundle]];
UINavigationController *acNavController = [[UINavigationController alloc] initWithRootViewController:acController];
[self.tabBarController setSelectedIndex:0];
[self.tabBarController setSelectedViewController:acNavController];
在我的 TabBarController 中切换视图。结果是关闭到窗口顶部:
替代文字 http://img.skitch.com/20090718-tpgya2nt4yeadacgs54dh8syp2.png
如何让我的观点正确定位?
问候