0

I have implemented a paint application using UITouches by following RayWenderlich tutorial

Make A Simple Drawing App with UIKit

I completed my paint successfully.

But *I need to set zoomin and zoom out functionalitie*s,

So that i added my ImageViews on UIScrollView.

But the paint is not working due to UITouches not working on UIScrollView.


I know due to scrollable behavior touches are are not working,
But even after i disable the scrollable option its did not works.

I implemented zooming functionality with Pinch Guesters but, it is not able to see out side zoomed, its just able to see zoomed image with in the window.

Can anybody suggest me how to handle perfect zoom in paint application

user2732294
  • 641
  • 2
  • 10
  • 21
  • Question is a little hard to understand. You should add a magnifier image or something, which disables drawing and enables zooming, so the gestures don't get confused. – Lord Zsolt Oct 11 '13 at 10:49

1 Answers1

0

If you want the below touch methods on the UIScrollView

• touchesBegan

• touchesEnded

• touchesMoved

• touchesCancelled

then you need to subclass your UIScrollView and then you can implement all these mehods:

Cheers!!

Geekoder
  • 1,531
  • 10
  • 21