码迷,mamicode.com
首页 > 移动开发 > 详细

ios调用相机之后状态栏消失

时间:2015-07-30 00:46:42      阅读:260      评论:0      收藏:0      [点我收藏+]

标签:ios   ios开发   it   


Apparently, in addition to setting the status bar to not be hidden, you also have to reset its style after the camera view makes it disappear. Try this:

[[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent animated:YES];


版权声明:本文为博主原创文章,未经博主允许不得转载。

ios调用相机之后状态栏消失

标签:ios   ios开发   it   

原文地址:http://blog.csdn.net/liudukun/article/details/47137751

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!