UIWebView autorotation bug? -
please, in problem:
i have uiwebview subview @ viewcontroller.view, , has autoresizing set fit screen bounds in orientation. problem is:
rotation works properly, if zoom out, , rotate, uiwebview frame sets right, content still in landscape. seems uiwebview bug, maybe know solution.
p.s. webview.scalespagestofit = yes; without pinch (to zoom out), works great. i've attached video link, make problem more clear (autoresizing mask visible in ib). http://dl.dropbox.com/u/11819370/bugs/rotationbug.mov
thanks.
try using these:
[self.view setneeddisplay]; [self.view setneedslayout];
Comments
Post a Comment