So while I was trying out this “rotationfix” here: http://developer.coronalabs.com/code/proper-orientation-rotation-animation.
Here’s how my build.settings look like:
[lua]orientation = {
default = “portrait”,
content = portrait,
supported = { “portrait”, “portraitUpsideDown”}
},[/lua]
But then rotating the device, it rotates twice and the screen is upside-down!
So I removed the “supported” part of build.settings:
[lua]orientation = {
default = “portrait”,
content = portrait,
},[/lua]
And it rotates smoothly now.
The problem is when using the native ads module, it does not rotate when the device is rotated.
So what I did was remove the “rotationfix” and then add the “supported” part of the build.settings.
This time the ad rotates with the black mask, but the contents just flips itself automatically.
So my question is:
- How do I rotate the contents of the stage, with the ads rotating with the stage as well?
I’m sorry if I explained that poorly. But please help me out.
Regards,
John [import]uid: 186198 topic_id: 33258 reply_id: 333258[/import]