You shouldn't need to do any touch detection yourself. UIScrollView can take care of everything.
You shouldn't need to do any touch detection yourself. UIScrollView can take care of everything. Here's a example: - (void)viewDidLoad { super viewDidLoad; scrollView = UIScrollView alloc initWithFrame:self.view.
Bounds; scrollView. Delegate = self; self. View addSubview:scrollView; imageView = UIImageView alloc initWithImage:UIImage imageNamed:@"test.
Jpg"; scrollView. ContentSize = imageView.bounds. Size; scrollView addSubview:imageView; float minScale = scrollView.frame.size.
Width / imageView.frame.size. Width; scrollView. MinimumZoomScale = minScale; scrollView.
MaximumZoomScale = 2.0; scrollView. ZoomScale = minScale; } Don't forget to add this delegate method to enable zooming: - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView { return imageView; }.
I created my UIScrollView with Interface Builder and I'm pretty sure I did all of the above, except with IB. I can move the drag around stuff, but when the image is say, smaller than the UIScrollView I can't move it at all. – Sergio Apr 22 at 22:17 Hm... how about adding the image view to a bigger UIView (bigger than the scroll view) and use that UIView as your scroll view's contentView?
– Joseph Lin Apr 23 at 5:48.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.