Bartosz,

It's a little difficult to know for sure without seeing your code, but your comment that "I change a size of webview" makes me a bit suspicious that you're not letting autoresizing do the work for you. I have an app that uses a webview to display a pdf and it resizes properly when switching between portrait and landscape without any overt sizing action on my part. The trick is to set the autoresizingMask property correctly to expand or contract to fill the view.

Bob

On Oct 6, 2009, at 3:12 AM, Bartosz Białecki wrote:

Hi,
I have a problem with rotation. I have one root controller which switch
between two views. In one of these views I have a webview control. In
webview I show a tif or pdf file which size is bigger than window, so
webview added scroll. The problem is when I rotate a device to
landscape, I change a size of webview but scroll stays at position like
in portrait mode. Does anybody know why?

Best regards
Bartosz Bialecki

----------------------------------------------------
Wygraj wymarzony skuter!
Wyznacz najprostszą drogę - docelu.pl - Kliknij:
http://klik.wp.pl/? adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fchapman1.html&sid=863


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/toadfoot%40comcast.net

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to