如何使用Three20框架实现隐藏状态栏
我正在使用 Three20 框架的 TTThumbsViewController 部分,并且我在整个应用程序中隐藏了状态栏。
当用户查看全尺寸图像时,点击屏幕(隐藏控件),当他们再次点击时,控件会重新出现,但状态栏也在那里。
我搜索了整个图书馆,但无法隔离发生这种情况的部分。如果有人能指出我正确的方向,我会很高兴。
谢谢,
BB
I'm using the TTThumbsViewController section of the three20 framework, and I have the status bar hidden throughout my application.
When the user views the full size image, taps the screen(hiding the controls), when they tap again the controls reappear but the status bar is there too.
I've searched through the whole library and been unable to isolate the section where this is happening. I'd love it if someone could point me in the right direction.
Thanks,
BB
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现它隐藏在由 TTPhotoViewController.m 调用的 UIViewControllerAdditions.m 中
I found it hiding in the UIViewControllerAdditions.m which is called by the TTPhotoViewController.m
这似乎根本不是那么回事。或者至少你没有回答你原来的问题。 showBars 不用于显示或隐藏状态栏,而是用于显示和隐藏导航栏项目。
当然,除非您正在谈论添加您已注释到 showBars 的那段代码。该代码甚至没有出现在我的 Three20 代码版本中。
This doesn't seem to be it whatsoever. Or at least you did not answer your original question. The showBars is not used to show or hide the status bar but rather to show and hide the navigation bar items.
Unless of course you are talking about adding that bit of code you have commented to the showBars. That code does not even appear in my version of Three20 code.