切换到 Three20 TTThumbnail 视图时 UITabBar 消失
我有一个带有 UITabBar 的应用程序。我使用 Three20 实现了一个照片库。一切都“工作正常”,除了当我切换到照片库时,选项卡栏消失了。
我猜我将不得不进入 Three20 代码并进行一些修改。
知道我的假设是否正确和/或我应该做出哪些改变?
I have an application with a UITabBar. I have implemented a Photo Gallery using Three20. Everything is "working fine" 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您的假设是正确的,我希望在 Three20UI 项目中进行更改,在 Photos>Thumbs Controller> 下在初始化程序(特别是您使用的初始化程序)中的 TTThumbsViewController.m,将
self.hidesBottomBarWhenPushed = YES
更改为NO
并希望能做到这一点:)。祝你好运!
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
toNO
and hope that does it :).Good luck!
回答上一条评论中的附加问题 -
对于导航栏颜色,您需要设置
navigationBarTintColor
,对于不透明/半透明,您可以设置navigationBarStyle
。这两个都是 TTBaseViewController 的属性,TTBaseViewController 本身是 UIViewController 的子类。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 setnavigationBarStyle
. Both of these are properties of the TTBaseViewController that itself is a subclass of UIViewController.