I have two UIScrollViews that I can drag between images. Users can drag between scroll views. I am trying to enlarge the movement of the image from one scroll view to another (my UIViewController has two custom UIScrollViews which intercept touch and send to my UIViewController) in the code in -touchesMoved
, I am trying to move the "center" of my UIImageView that is being moved. Since it is transferred, the image is hidden behind the UIScrollView and is not visible how can I show it at the top of the UIScrollView? I can animate in the Destination Scroll view and handle -shared end
properly.
I am also confused about using the -convertPoint: fromView:
(see chapter 3, event handling) if the touch coordinates are in the coordinates window, then my I do not have to use -convertPoint: toView:
, to change the view (UIImageView inside the UISmrollView that is inside a UIView and within a window),
imageView.center = [self.view.window Convert Point: currentTouchPosition toView: imageView];
What am I missing?
You can use the method - (zero) bringSubviewToFront: (UIView *) image to view To see the most in front of see.
Johann
Comments
Post a Comment