Description: Catalog of UIScrollView samples (iPhone)
This project used to demonstrate some hacks needed to implement Photos.app-style paging+scrolling+zooming on iPhone. However I m pleased to say that on iPhone OS 3.x no hacks are necessary any more!
First, nested UIScrollView s are supported natively on 3.x. To implement paging+scrolling you just use an outer UIScrollView in paging mode, and separate UIScrollViews for each page. They work together automagically.
Second, UIScrollView now supports programmatic zooming natively. See setZoomScale: and the like.
Third, many of you came here to implement double-tap-to-zoom functionality. Apple now has an example called ScrollViewSuite which shows this, and contains some other tricks like tiling. You should really check it out. Platform: |
Size: 1024 |
Author:gdhana |
Hits: