Hide statusbar using info.plist in any app

后端 未结 3 1849
小蘑菇
小蘑菇 2021-01-12 06:59

To clarify, I\'m not trying to do this on my own app, so I don\'t have access to the source code. I am trying to edit info.plist or any other files in the installed .app fil

3条回答
  •  不要未来只要你来
    2021-01-12 07:39

    [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO];
    

    OR

    enter image description here

    Or

    try - (BOOL)prefersStatusBarHidden { return YES; } in all of your view controllers.

提交回复
热议问题