
iPhone Tutorial - UIScrollViews with pinch/zooming
3 years ago
This tutorial goes over a very simple implementation of how to use UIScrollViews, as well as how to implement a UIScrollView's pinching and zooming functionality.
The source code for the tutorial can be downloaded from austinbull.com/tutorials/tutorial3.zip
Enjoy!
The source code for the tutorial can be downloaded from austinbull.com/tutorials/tutorial3.zip
Enjoy!
FLV
00:08:37
5 Related collections
| Date | Plays | Likes | Comments |
|---|---|---|---|
| Totals | 90.7K | 46 | 29 |
| Feb 14th | 46 | 0 | 0 |
| Feb 13th | 59 | 0 | 0 |
| Feb 12th | 31 | 0 | 0 |
| Feb 11th | 13 | 0 | 0 |
| Feb 10th | 25 | 0 | 0 |
| Feb 9th | 55 | 0 | 0 |
| Feb 8th | 53 | 0 | 0 |
Check out these lessons to learn more about how you can make videos like this one!
-
Vimeo: About / Blog / Developers / Jobs /
Community Guidelines /
Help Center / Video School / Music Store / Site Map
/ Vimeo
or
-
Legal: TM + ©2012 Vimeo, LLC. All rights reserved. / Terms of Service / Privacy Statement / Copyright

Prev week
Thanks
Thanks!
what a great tutorial!
It's got me started a lot thank you.
Although I have a question...is there a way to load an image file from the Resources folder instead of a web image?
thanks
what a great tutorial!
It's got me started a lot thank you.
Although I have a question...is there a way to load an image file from the Resources folder instead of a web image?
thanks
Nevertheless, a great tutorial,
Keep up the good work!
Through IB, I had to set my file owner's delegate to the that scroll view app delegate object rather than the window to get the project to work properly. I'm rather new to this world, so go figure.
Apart from that, thank you!
But all the touch events are sent to the scrollview and my viewcontroller never gets the touch events (touchesBegan is not called)
How can I make sure that any pinch/zoom operations are handled by the scrollview but other touch events are passed to my viewcontroller?
Thanks.
Thanks for the great tutorial. I have followed this and works great on simulator (iphone os v 2.2.1). However when deployed on actual device running iphone os 3 beta 5, zoom functionality is not there. Any heads on that?
thanks!
Deepesh
I got it, we need to explicitly set multi-touch-enabled attribute in order to get it working. I wonder how it is working in simulator???
Thanks!
Deepesh
Sorry for the previous post.. your video answers that.. but I wanted to know if I could detect touches on the image as shown in the video, so that the coordinates of the point of touch could be recorded.
Could anybody please help me out in this regard ?
Thanks
Any help would be appreciated.
Thanks!
I've been searching for the past 2 days for a solution to pinch zoom and scroll functionality on a UIImageView, and everywhere suggested pages upon pages of delegate fuddling or loading the image inside a UIWebView as a bit of a hack... I can't believe the solution was really this simple!! Thank you!!
Is there a way to make an initial image size so that the user can zoom in from there
My project includes a rather large image and We want the user to see the whole page first before zooming in...then if the user chooses to view the image in depth they have that option