Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS UI Control Automatically Allowing You To Enable Tap-To-Zoom On An Image

  •  
  •  
  •  
  •  
  •  

A pretty common pattern seen in iOS apps is to zoom in on an image view when that image is tapped.

Here’s a library from Philippe Converset has created an open source user interface control that allows you to do this easily.  You simply tap a view and it is automatically zoomed in on, and the zoomed in view also adjusts for orientation changes.  Setup is done by supplying the control with an array of views.

This sequence of images below from the readme illustrates one image view being zoomed in on, and the orientation changed:

asmediafocusmanager

You can download ASMediaFocusManager on Github here.

Combine this with the Mosaic UI mentioned earlier this week and you’ve got a nice mosaic style image gallery.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments