Monday, February 7, 2011

Pinch Zoom UITableView


We can give pinch zoom feature to UITableView using UIPinchGesture. Below is the subclass of UITableView which can be directly used to enable pinch zoom capability for your table view. Just you need to change the class of UITable in nib as shown below.

Just you need to add "PinchZoomTableView.h" and "PinchZoomTableView.m" to your project. Then change the class from UITableView to PinchZoomTableView in the nib file where UITable is used. You can download the sample project from https://github.com/sachithkadamba/PinchZoomUITableView.  Or You can copy paste PinchZoomTableView.h and PinchZoomTableView.m from below.


Please leave comments if this post helped you and also please share the code if you have fixed any bug or improved this code so that it helps others.

Monday, January 1, 2001

Privacy Policy

This blog does not share personal information with third parties nor do we store any information about your visit to this blog other than to analyze and optimize your content and reading experience through the use of cookies.

You can turn off the use of cookies at anytime by changing your specific browser settings.

We are not responsible for republished content from this blog on other blogs or websites without our permission.

This privacy policy is subject to change without notice. If you have any questions feel free to contact me directly here sachk1988@gmail.com