I spent two hours yesterday trying to “tune” the positions after the webView is rotated.
I thought I could fine tune but finally I gave up. It’s really a bug.
(1) For Simulator, I could tune the positions so that webView can be rotated and put correctly in the screen. (but the algorithm is quite odd)
(2) I thought I could do the same for the device.
(3) Actual devices (I tested with iPhone 5S & iPad 3) behaves differently than Simulator after webView rotates. The webView in actual devices gets really funky when changing its width/height after changing its rotation property.
(4) Even without any orientation or rotation, simply changing webView width/height is screwing the webView content. (The content is stretched)
CONCLUSION
The conclusion is that current webView cannot support device orientation at all, no matter how.
I really hope this can be addressed as soon as possible.
For a business app that supports orientation + webView, it’s a common practice but it’s not achievable via Corona right now.