2012-02-28 36 views
0

我很難把TTThumbsViewController和UITabBarController放在一起。切換到ThreeThreshold的TTThumbsViewController時,標籤欄將消失。我已經閱讀了堆棧溢出中的所有問題,但沒有任何幫助。我甚至試圖設置所有的UITabBarController在Three20 TTThumbsViewController中消失

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

在我的thumbsviewcontroller和Three20UI項目。這些方法都不起作用。

我正在Xcode4中創建我的應用程序,並且添加了這個縮略圖庫是最後一部分。

回答

0

我意識到這是一個老氣的文章,但如果你使用:

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

這意味着推動已經發生,因此否定了命令。改用此:

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

然後按下它。這工作。

+0

我已經完成了該項目,但是,謝謝! – Peng90 2012-09-12 17:42:11

0

我最終解決了這個問題,通過刪除我的代碼中的three20導航欄,並簡單地使用故事板中的uinavigationcontroller。我不知道爲什麼,但問題解決了。我希望這可以幫助像我一樣使用storyboard with three20。

相關問題