UIScrollView resizes when a UIViewController is pushed in UINavigationController. Why?
Posted
by user210504
on Stack Overflow
See other posts from Stack Overflow
or by user210504
Published on 2010-06-15T20:29:24Z
Indexed on
2010/06/15
20:32 UTC
Read the original article
Hit count: 391
iphone
|iphone-sdk
Hi!
When I push a UIViewController within a UINavigationController, the UIScrollView in the view changes dimensions. Now even I am trying to resize the UIScrollView. It wont simply resize. It maintains the framework dimensions. Any idea why this would be happening.
Example:
My NIB has a view which has a scrollview with dimensions (320, 430)
now when I push the UIViewController associated with the view the scrollview still shows dimensions has 320, 430, but is drawn much smaller then 320,430
Any suggestions in this regard.
© Stack Overflow or respective owner