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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -