开发者

UITabBar Disappears When Switching to Three20 TTThumbnail View

开发者 https://www.devze.com 2023-01-08 11:25 出处:网络
I have an application with a UITabBar. I have implemented a Photo Gallery using Three20. Everything is \"working fin开发者_开发问答e\" except that when I switch to the Photo Gallery, the TabBar dissap

I have an application with a UITabBar. I have implemented a Photo Gallery using Three20. Everything is "working fin开发者_开发问答e" except that when I switch to the Photo Gallery, the TabBar dissappears.

I am guessing I am going to have to go into the Three20 code and make some sort of modifications.

Any idea if my assumption is correct and / or what changes I should be looking to make?


yes your assumption is correct, and i would look to change in the Three20UI project, under Photos>Thumbs Controller> TTThumbsViewController.m in the initializers (specifically the one you use), change self.hidesBottomBarWhenPushed = YES to NO and hope that does it :).

Good luck!


In answer to the addition question in the previous comment -

For the NavBar colour you need to set navigationBarTintColor, and for opaque/translucent you can set navigationBarStyle. Both of these are properties of the TTBaseViewController that itself is a subclass of UIViewController.

0

精彩评论

暂无评论...
验证码 换一张
取 消