iPhone how to create a full screen app?

前端 未结 5 1250
野性不改
野性不改 2021-02-01 18:35

I\'ve been trying to create a full screen view. I plan on using core graphics for rendering. I am new to iPhone development so please forgive this basic question.

Here\'

5条回答
  •  礼貌的吻别
    2021-02-01 19:04

    There are two methods;

    In the info.plist for your application add a boolean key UIStatusBarHidden and set it to true.

    At runtime you can call setStatusBarHidden on your application to show/hide the status bar. E.g.

    [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]
    

提交回复
热议问题