开发者

Hide status bar in MPMediaPickerController?

In my app I want to hide the status bar in the MPMediaPickerController. I have set the status 开发者_运维知识库bar hidden property in my plist and it makes no difference. Is there anyway to hide it?

Thanks!


Try -setStatusBarHidden:withAnimation:.


Subclass MPMediaPickerController and add:

- (BOOL)prefersStatusBarHidden {
  return YES;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜