1
votes

I add One ScrollView in that i put image when i resize image using viewForZoomingInScrollView after that i Rotate image using UIRotationGestureRecognizer at that time image getting resize automatically so any solution for this problem.

here i put code for zoom and rotate: - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
{ return Photo; }

/*In response to a rotation gesture, show the image view at the rotation given by the recognizer, then make it fade out in place while rotating back to horizontal. */ - (void)handleRotationFrom:(UIRotationGestureRecognizer *)recognizer {

CGAffineTransform transform = CGAffineTransformMakeRotation([recognizer rotation]);
Photo.transform = transform;    

}

1
so what is the question here?woodleader

1 Answers

1
votes

Implement class EditImageView

handle touch over there for tracking touch.