I have the application configured, so auto-rotate works. Things like tableviewcontrollers and tabbarcontrollers automatically resize themselves without the need to write any code. However, I need my webview, etc. Changed when the device switched to landscape. I have installed:
webView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
but when I rotate the device, it does not resize. Am I doing it wrong?
iphone uiviewcontroller uiview
john
source share