iphone 5 and ipad configuration

I used the ultimate config file found here https://www.dropbox.com/s/yzs8bfc0drs4rwo/config.lua

and I have 3 images bg.png, bg@2x.png, and bg@4x.png

and there are still black bars on my device when I test bottom and top… whats going on?

What size are the images?  Are you using display.newImage() or display.newImageRect() to load them?  Can you post the code where you are loading the image?

I am using newImageRect and these are the sizes
bg.png - 360 x 570
bg@2x.png - 720 x 1140
bg@4x.png - 1440 x 2280

Post your actual code where you are loading the image in and your actual config.lua please.

Rob

I fixed it! I put this in my folder! It works great! :slight_smile:

Default-568h@2x.png

wait do I have to put that in for iPad too?

What size are the images?  Are you using display.newImage() or display.newImageRect() to load them?  Can you post the code where you are loading the image?

I am using newImageRect and these are the sizes
bg.png - 360 x 570
bg@2x.png - 720 x 1140
bg@4x.png - 1440 x 2280

Post your actual code where you are loading the image in and your actual config.lua please.

Rob

I fixed it! I put this in my folder! It works great! :slight_smile:

Default-568h@2x.png

wait do I have to put that in for iPad too?