I’ve got 2 views. The idea is to select image from second view and place it on first view.
The problem is I tried to add pan gesture, it’s not responding or calling the method. Please help. Thanks
Code in my First view
- (void)newStampImage: (UIImage *)inImage
{
stampImageView = [[UIImageView alloc]initWithImage:inImage];
UIPanGestureRecognizer *stampPanGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(moveStamp:)];
[stampPanGesture setMinimumNumberOfTouches:1];
[stampPanGesture setMaximumNumberOfTouches:1];
[stampImageView addGestureRecognizer:stampPanGesture];
stampImageView.center = self.view.center;
[self.view addSubview:stampImageView];
}
please add