Hi Finally my app was approved.
It’s on the app store ready for sale!
Thanks God and all of you guys for your help.
I now have 3 apps in the app store.
All for iPad.
I think it’s time to start learning how to do an app for all devices.
I went to a tutorial on corona labs
http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/
and I copy this config.lua
system.getInfo("model") if ( string.sub( system.getInfo("model"), 1, 4 ) == "iPad" ) then application = { content = { width = 360, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight \> 960 ) then application = { content = { width = 320, height = 568, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } end
And I only have an image for the background in main.lua
-- this is to practice local background = display.newImage ("bg1.png")
the image is 768 px X 1024 px
I was expecting to see the background fine.
but I see the image “larger”
I don’t see the right size in any device. (iPad, iPhone, 4 5 or 3)
the config.lua must need something else.
and this is all I have in build.settings
local whichWay = "portrait" -- set this to portrait or landscape ---------------------------------- local oDefault = "landscapeRight" local oSupported = {"landscapeLeft","landscapeRight"} if whichWay == "portrait" then oDefault = "portrait" oSupported = {"portrait","portraitUpsideDown"} end settings = { orientation = { default = oDefault, supported = { oSupported[1], oSupported[2] }, }, iphone = { plist = { UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true }, }, }
Thanks for your help.
By the way the 3 apps are:
– Piano for kids level 1
– Guitar for kids level 1
– How to make an app for beginners