I'm having trouble put TTThumbsViewController and UITabBarController together. The tab bar will disappear when switched to TTThumbsViewController of Three20. I've read all questions in stack overflow and nothing really helped. And I even tried to set all

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

in my thumbsviewcontroller and in Three20UI project. None of these methods work.

I'm building my app in Xcode4 with storyboard and adding this thumbs gallery is the last part.

有帮助吗?

解决方案

I realise this is an oldish post but if you use:

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

IT means that the push has already taken place therefore negating the command. Use this instead:

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

Then push it. This works.

其他提示

I ended up solving this problem by remove the three20 navigation bar in my code and simply use the uinavigationcontroller in storyboard. I don't know why, but problem solved. I hope this can help those like me using storyboard with three20.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top