简体   繁体   English

隐藏状态栏

[英]Hiding the status bar

We have hidden the status bar in our application. 我们已经在应用程序中隐藏了状态栏。 But when there is an error in playing the video, I get "This movie could not be played" pop up. 但是,如果在播放视频时出现错误,则会弹出“此电影无法播放”的提示。 When this pop up is getting displayed, status bar becomes visible and it stays visible always till we shut down the application. 当显示此弹出窗口时,状态栏将变为可见,并且始终保持可见状态,直到我们关闭该应用程序为止。

How do we fix this 我们如何解决这个问题

[ [ UIApplication sharedApplication ] setStatusBarHidden:true animated:false ];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM