Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launch image - iPhone application

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

  1. Launch.jpg: 320x480
  2. [email protected]: 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

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?

like image 741
CodeGuy Avatar asked Nov 17 '25 09:11

CodeGuy


1 Answers

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.

like image 116
ceejayoz Avatar answered Nov 19 '25 23:11

ceejayoz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!