iphone - How to implement my own zooming but still have access to the UIScrollView's scrolling? -


I would like to use the scrolling / panning functionality of UIScrollView, but I would like to scale all zooming and myself. In my current plan there should be a visual controller that has multiple UIViews and UIScrollViews as a UIView (I will see it see 1) as children.

Is it possible to see 1 to present all the multi-touch events manually to all the zoomed states of children) and to attract results to each related scroll view Allow to scroll around results?

(For the curious, the application is portraying many hatemaps, while updating themselves to zooming or scrolling, correctly labeling axes to the categories shown in the data area (scroll view) Because I can not use the default reference-image-scaling zoom which comes for it, the scroll is free from the wave that the reference is drawn on the zoom (reference Including things like rows). The action of zooming is not really to make things bigger but rather to adjust the viewable data range.)

You can actually be the main hosting vi, block interrupt multitouch events and built-in UIViews programmatic scaling. I do this in the open GL display part (source is available). You can still pass single touch events in the built-in scroll view for panning, etc.

However, there can still be a way to describe a touch event without you. UIScrollView does its default scaling by applying a change in its content view. In response, I pinpoint a method of re-presenting my content view on a new scale after finishing zooming. After zooming it will allow you to refresh your picture with intense grid lines.

In addition, if you are not really scaling and with pinch zooming you want to change the second asset of your scene, then what you describe in that question and the result on your contentView I can not implement the change, you can remove the scale that UIScrollView wants to set with that conversion, and in response the view of its own custom redraw Make the dand.


Comments