|
@@ -48,6 +48,9 @@
|
|
|
_imageView.image = [UIImage imageNamed:@"DX_22"];
|
|
_imageView.image = [UIImage imageNamed:@"DX_22"];
|
|
|
|
|
|
|
|
_imageView.userInteractionEnabled = YES;
|
|
_imageView.userInteractionEnabled = YES;
|
|
|
|
|
+
|
|
|
|
|
+ UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(clickImageView:)];
|
|
|
|
|
+ [_imageView addGestureRecognizer:tap];
|
|
|
}
|
|
}
|
|
|
return _imageView;
|
|
return _imageView;
|
|
|
}
|
|
}
|
|
@@ -63,4 +66,8 @@
|
|
|
return resSize;
|
|
return resSize;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+- (void)clickImageView:(id)recognizer {
|
|
|
|
|
+ [self sendActionsForControlEvents:UIControlEventTouchUpInside];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
@end
|
|
@end
|