Fitting images with pag econtrols predictably
There are plenty of UIScrollView samples. There are no samples where a UIScrollView, with a referencing Page Control, contains a set of view controllers with Images loaded, that works within a defined region of the overall view (either iPhone or more appropriately iPad).
Apple's sample universal app (PageControl), when bringing the UIScrollView and associated UIImageViews down to a subset of the screen ... let's say 200 x 200 (both), with corresponding 200 x 200 images (I created my own jpg's at this size) ... simply produces results that are not as expected. The image sometimes overlaps the page control (which was fitted right under the UIScrollView in IB, sometimes there's a gap between the image and the page control, even though the UIScrollView is confirmed to be the exact size of the image ... and the code sets such appropriately.
So is there someone out there that actually knows how the USAToday app and Weather Channel apps did this? I'd like to see a sample project, and would potentially be willing to pay for such. It's the remaining building block that I am spending too many hours trying to figure out.
Thanks
|