[Resolved] Cannot manage to support tall screen on iPhone 5

Hi,

I spent hours trying to support iPhone 5 tall screen.

  1. I have the latest XCode 4.5 / Corona SDK (926)
  2. I added Default–568h@2x.png with accurate size
  3. My config.lua is
 application = {  
 content = {  
 width = 320,  
 height = 480,   
 scale = "zoomEven",  
 fps = 60,  
  
 imageSuffix = {  
 ["@2x"] = 2,  
 }  
 },  
}  

build settings orientation:

 orientation = {  
 default = "portrait",  
 supported = { "portrait", }  
 },  

The game is perfect with Corona Simulator, but not full screen (with black borders) on XCode iOS Simulator and a real iPhone 5…

Any idea? [import]uid: 77660 topic_id: 31599 reply_id: 331599[/import]

After all this time, I JUST noticed I had this problem too. I’ve been developing with the basic 320x480 resolution. iPhone of course was fine, but on the bigger Android screens, it had the black bars. Thankfully the iPhone5 resolution is bigger. I just make my phone resolutions 480x800 and that works for me. [import]uid: 114389 topic_id: 31599 reply_id: 126265[/import]

Try changing your content height to
height = 568,
[import]uid: 7563 topic_id: 31599 reply_id: 126285[/import]

@ewing
The issue with this, is that the game is still not cropped, and just pushed on the top of the screen with a huge empty room at the bottom :frowning:
This is for the Corona Simulator.
The XCode Simulator show the app still centered vertically and with black borders! [import]uid: 77660 topic_id: 31599 reply_id: 126338[/import]

The issue seems to be Default–568h@2x.png which is not detected by the system. I added a watermark on it, and the system still display the former 640x960 splash screen.
Help please :frowning: [import]uid: 77660 topic_id: 31599 reply_id: 126340[/import]

Seems to be resolved… but I don’t know how.
I removed all the Defaultxxxx.png files, and recreate them. [import]uid: 77660 topic_id: 31599 reply_id: 126341[/import]

After all this time, I JUST noticed I had this problem too. I’ve been developing with the basic 320x480 resolution. iPhone of course was fine, but on the bigger Android screens, it had the black bars. Thankfully the iPhone5 resolution is bigger. I just make my phone resolutions 480x800 and that works for me. [import]uid: 114389 topic_id: 31599 reply_id: 126265[/import]

Try changing your content height to
height = 568,
[import]uid: 7563 topic_id: 31599 reply_id: 126285[/import]

@ewing
The issue with this, is that the game is still not cropped, and just pushed on the top of the screen with a huge empty room at the bottom :frowning:
This is for the Corona Simulator.
The XCode Simulator show the app still centered vertically and with black borders! [import]uid: 77660 topic_id: 31599 reply_id: 126338[/import]

The issue seems to be Default–568h@2x.png which is not detected by the system. I added a watermark on it, and the system still display the former 640x960 splash screen.
Help please :frowning: [import]uid: 77660 topic_id: 31599 reply_id: 126340[/import]

Seems to be resolved… but I don’t know how.
I removed all the Defaultxxxx.png files, and recreate them. [import]uid: 77660 topic_id: 31599 reply_id: 126341[/import]

productiemedewerkers [import]uid: 180150 topic_id: 31599 reply_id: 129464[/import]

iphone kapot [import]uid: 180150 topic_id: 31599 reply_id: 129466[/import]

productiemedewerkers [import]uid: 180150 topic_id: 31599 reply_id: 129464[/import]

iphone kapot [import]uid: 180150 topic_id: 31599 reply_id: 129466[/import]