开发者

Launch image - iPhone application

I have two files for the Launch image for my iPhone app.

  1. Launch.jpg: 320x480
  2. Launch@2x.jpg: 640x960

In my .plist, I have the following key-pairs (amongst others):

  1. Launch image (iPhone) = Launch.jpg
  2. Status bar is initially hidden = NO
  3. 开发者_JS百科

However, when my app first launches, the top 20 pixels or so of the Launch image are blocked because of the status bar. How can I tell my Launch image to start below the status bar upon launch?


If you need the status bar to be present on the launch screen, your best option is to modify the launch images themselves to make room for the status bar. As the top 20 pixels is being cut off by the bar, simply modifying your Launch.jpg to have the top 20 pixels blanked-out will do the trick.

If you don't need the status bar on the launch screen but want it on the application, set it to hidden in your Info.plist and have your application do:

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

once it finishes launching.


You need to set the Status bar is initially hidden to YES to hide the status bar while the splash image is shown.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜