I’m new to objective-c and iOS development.
I need an iPad application to display some images and designs (draw) over its, but the design needs be done in a separate image. My idea is use two overlapping UIImageViews, the first one is the images that I want to see, and the second one is an image with transparent background where I will draw some things with finger. All of this is OK and i have implemented, but I need that the zoom be enabled to tow images in the same time. When I’m zooming, the tow images need be resized at the same time.
The scroll needs to work to the images at the same time too.
How can I do this?
Somebody help me!
The two
UIImageViews you are overlapping should be subviews of the sameUIView.Then, apply scrolling and zooming to the base
UIView, and it will affect also the subviews.If you haven’t added the two
UIImageViews to aUIView, then you can do that like this: