iPhone - Remove status bar programmatically

前端 未结 6 1760
刺人心
刺人心 2021-01-02 09:17

I have made an app that implements the iPhone\'s camera. When the user finishes picking their image, the status bar reappears! How would I make sure that the status bar sta

6条回答
  •  庸人自扰
    2021-01-02 09:45

    [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
    

    You may opt for another animation style if at all.

提交回复
热议问题