我有一个TabBarController作为我的应用程序的根目录,其中一个选项卡指向带有Pin注释的MapView。MapView本身嵌入在NavigationController中。
在选项卡之间切换时,除了第二次选择MapView时TabBar消失之外,所有选项卡都可以正常工作。但是,如果随后选择了贴图别针,并按下局部视图,则TabBar会重新出现,随后看起来工作正常。
任何关于为什么会发生这种情况的帮助都将不胜感激。
发布于 2012-07-30 20:30:03
下面的内容如何:
实现
的
代码(即AppDelegate格式):
YourRootCtrl *cont = [[YourRootCtrl alloc] init];
UINavigationController *navi = [[UINavigationController alloc] initWithRootViewController:cont];
navi.delegate = self;
[cont release];
[self.window setRootViewController:navi];https://stackoverflow.com/questions/11718004
复制相似问题