I have one UIView
which hold one UIImage
.
I want to apply UIPinchGesture
on this UIVIew Programatically
.
I want to resize this UIView
.
I am adding
UIPinchGestureRecognizer *pinchRecognizer =
[[UIPinchGestureRecognizer alloc] initWithTarget:self
action:@selector(handlePinch:)];
[pinchRecognizer setDelegate:self];
[frameView addGestureRecognizer:pinchRecognizer];
and
-(void)handlePinch:(UIPinchGestureRecognizer*)sender{
}
But, I am applying it first time, so anyone help me out of this.
Help is greatly appreciated!