View stretched in iOS Simulators

Hello,

I recently got my app working in the iOS version of CoronaCards, using the Single CoronaView template. The problem is that the view inside the iOS Simulator is stretched horizontally (see attached images.)

I’ve set the orientation to landscape in the plist, and for testing I hardcoded the config width/height to 1024x768 (resolution of iPad 2). I also flipped with width/height to try variations, but I can’t get the ratio to appear correctly.

application = { content = { height = 1024, --screenH, width = 768, --screenW, scale = "letterbox", fps = 60, imageSuffix = { } } };

When I fire up the app in the Corona Simulator, the ratio is correct (see Normal.png), but when I fire it up in the iOS Simulator (specifically iPad 2, or iPhone 4G), the ratio is stretched.

Does anyone have any ideas?

Albert

In case anyone is experiencing the same problem, the problem was solved here: https://forums.coronalabs.com/topic/57064-screen-orientation-on-ios-weird-behaviour/

In case anyone is experiencing the same problem, the problem was solved here: https://forums.coronalabs.com/topic/57064-screen-orientation-on-ios-weird-behaviour/