Glitch
Glitch

Reputation: 629

Semantic Zoom in iOS

How would one go about creating a semantic zoom type interface in iOS4? By semantic zoom I mean that as the user zooms in on an object it reveals more and more details, and vice versa when zooming out.

Any tips appreciated, thanks!

Upvotes: 0

Views: 506

Answers (2)

Dancreek
Dancreek

Reputation: 9544

The "PhotoScroller" sample code provided by Apple has a tiled zoom technique that works very well. I have reused it across multiple apps. It relies on CATiledLayer. Download the sample code and you should have what you need.

Upvotes: 1

user470763
user470763

Reputation:

I think there was a WWDC session video on this and it used a UIScrollView and tiling. When the user zoomed a more detailed image was shown on the tiles. Take a look at the session videos (link is in the developer center and you will need a developer account).

Upvotes: 1

Related Questions