iOS 5 Development - 26 - Pinch (ZOOOOming)
Loading...
569
views
Loading...
Uploader Comments (ProgrammingTutor0)
see all
All Comments (32)
-
Thank you very much! The file is awesome!!
-
something like this?:
- (void)pinch:(UIPinchGestureRec
ognizer *)recognizer { if (recognizer.state == UIGestureRecognizerStateChange
d || recognizer.state == UIGestureRecognizerStateEnded) { if (imageView.scale < yourScaleLimit) { imageView.scale *= recognizer.scale; } recognizer.scale = 1.0; } }
-
@vtrunk man add me on skype : dani_arnaout i'll solve ur problems there!
Loading...
I've added a link to the description , check it out ! (max&min zoom)
ProgrammingTutor0 1 month ago
thanks for the quick reaction. im building an app just from tutorials and havent got a lot of coding (none) knowledge. it would help a lot if you could help me out here. if not, no problem, i will just try to work it out myself.
thenaxxramas666 1 month ago
@thenaxxramas666 i advice you to go over objective-C then start with iOS development.. aim for quality .. and u'll get some great results!
ProgrammingTutor0 1 month ago
Could you explain how to put a max. and min. on scaling? Thanks!
thenaxxramas666 1 month ago
@thenaxxramas666 hey, you can simply put a condition that tests for the image size.. if the image is less than a certain size then it can't zoom in anymore.. same applies to max zoom
ProgrammingTutor0 1 month ago
Where can I download the code documentation file that you used at 3:22? It seems to be very helpful!!
hjyssg 1 month ago
@hjyssg Actually, this is my own private documentation.. i'll make it available for anyone soon :) and i'll support you with a link for that !
ProgrammingTutor0 1 month ago