0

我无法将 TTThumbsViewController 和 UITabBarController 放在一起。切换到 Three20 的 TTThumbsViewController 后标签栏会消失。我已经阅读了堆栈溢出中的所有问题,但没有任何帮助。我什至试图设置所有

self.wantsFullScreenLayout = NO; 
self.hidesBottomBarWhenPushed = NO;

在我的 thumbsviewcontroller 和 Three20UI 项目中。这些方法都不起作用。

我正在使用故事板在 Xcode4 中构建我的应用程序,并添加这个拇指库是最后一部分。

4

2 回答 2

0

我最终通过删除代码中的 three20 导航栏并简单地使用情节提要中的 uinavigationcontroller 解决了这个问题。我不知道为什么,但问题解决了。我希望这可以帮助像我这样使用three20的故事板的人。

于 2012-02-29T21:55:57.680 回答
0

我意识到这是一个过时的帖子,但如果你使用:

self.wantsFullScreenLayout = NO; 
self.hidesBottomBarWhenPushed = NO;

IT 意味着推送已经发生,因此否定了命令。改用这个:

GalleryViewController *gallery = [[GalleryViewController alloc] init];
gallery.wantsFullScreenLayout = NO; 
gallery.hidesBottomBarWhenPushed = NO;

然后推它。这行得通。

于 2012-06-08T16:14:20.773 回答