I've got a UIScrollView with paging enabled, with 2 pages. I'm using auto layout. When I rotate from portraint to landscape, the content offset of the scroll view ends up between pages. Is that normal, or is there something else in my app screwing it up? Is there a simple way to change the behavior, so it sticks to a page on rotation?
thanks, Rob
Yes. Your app needs to reset the content offset of the scroll view to be a multiple of the new page width whenever the scroll view's size changes (e.g. in response to device rotation). The PageControl sample shows an example of this (in Classes/iPhone/RootViewController.m).