Hello!
I’m using the ad support by corona, but the ads are not scaling correctly.
Here’s my code:
[lua]local model = system.getInfo( “model” )
if (model == “iPad” or model == “iPad Simulator”) then
ads.show( “banner728x90”, { x = 0, y = _H-90, interval = 60, testMode = true } )
else
if (display.pixelHeight >= 960 ) then
ads.show( “banner320x48”, { x=0, y=_H, interval=10, testMode=true } )
else
ads.show( “banner320x48”, { x=0, y=_H-48, interval=10, testMode=true } )
end
end[/lua]
and here’s part of my config file:
[lua]application = {
content = {
–zoom
width = 320,
height = 480,
xAlign = “center”,
yAlign = “center”,
scale = “letterBox”,
imageSuffix = {
["@2x"] = 2,
}
},
notification =
{
iphone =
{
types =
{
“badge”, “sound”, “alert”
}
}
},
}[/lua]
What am I doing wrong?
Regards,
John [import]uid: 186198 topic_id: 33423 reply_id: 333423[/import]