开发者

Hide status bar in MPMediaPickerController?

开发者 https://www.devze.com 2023-03-30 01:29 出处:网络
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?

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

精彩评论

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