Hello everyone. I got a problem that only the middle part (960x640) was displayed on iPod Touch 5 ( haven’t tried on iPhone 5 ), and left me 2 black bars (88x640 each) on top and bottom. It shows 1136x640 in simulator but just not work on device.
Code to represent the problem:
[lua]-- main.lua
display.setStatusBar( display.HiddenStatusBar )
– line1 and line2 should meet at ( 320, 568 )
local line1 = display.newLine( 0, 0, 320, 568 )
local line2 = display.newLine( 320, 0, 320, 568 )
– resolution
local text = display.newText( display.pixelHeight …" x " … display.pixelWidth, 0, 284, nil, 20 )[/lua]
I’ve forced the program to run in the “tall” resolution in config.lua
[lua]-- config.lua
application = {
content = {
width = 320,
height = 568,
scale = “zoomEven”,
fps = 30,
},
}[/lua]
Any idea to fix it? [import]uid: 129130 topic_id: 34684 reply_id: 334684[/import]