TTThumbsViewController +导航控制器问题
我仅将 Three20 用于我的应用程序中的画廊。
当我从另一个视图推送我的 .. : TTThumbsViewController
时,导航栏不是我想要的颜色(根据我的应用程序的其余部分)。我已经按照 这个 stackoverflow QA。因为我只使用 TTThumbsViewController,所以我需要做一些特别的事情吗?
拇指视图也在顶部创建了额外的空间,就好像它为导航控制器留出了空间,而不知道导航控制器已经在那里。如何告诉 TTThumbsViewController
使用现有的 uinavigationcontroller
?或者表现得好像是这样?
MYThumbsViewController *mYThumbsViewController = [MYThumbsViewController alloc];
[self.navigationController pushViewController:mYThumbsViewController animated:YES];
以图形方式描述的问题:
alt text http://www.imgplace.com/img594/1309 /39testapp.png
谢谢!
I am only using Three20 for a gallery in my app.
When I push my .. : TTThumbsViewController
from another view, the navigation bar is not the color I want it to be (as per the rest of my app). I have set up a TTDefaultStyleSheet
as per this stackoverflow QA. Is there something special I have to do as I am only using the TTThumbsViewController?
The thumbs view is also created with extra space at the top, as though it is leaving room for a navigation controller, without knowing that one is already there. How can I tell the TTThumbsViewController
to use the existing uinavigationcontroller
? Or behave as though it is?
MYThumbsViewController *mYThumbsViewController = [MYThumbsViewController alloc];
[self.navigationController pushViewController:mYThumbsViewController animated:YES];
The problem depicted graphically:
alt text http://www.imgplace.com/img594/1309/39testapp.png
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您不想使用透明导航栏,可以通过实施以下方法来纠正此问题:
If you do not want to use a transparent navigation bar, this issue can be corrected by implementing the following method:
我找到了解决方案。
在我的
ThumbsViewController
中,我有这样的内容:拇指现在位于正确的位置。
I found the solution.
In my
ThumbsViewController
I have this:The thumbs are now in the correct position.