Skip to content

Commit dbaf116

Browse files
committed
fixed IQMUNICATE-779
1 parent 30263b6 commit dbaf116

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

QMChatViewController/Views/CustomUI/QMImageView/QMImageView.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ typedef NS_ENUM(NSUInteger, QMImageViewType) {
2222
Default QMUserImageViewType QMUserImageViewTypeNone
2323
*/
2424
@property (assign, nonatomic) QMImageViewType imageViewType;
25+
@property (weak, nonatomic, readonly) UITapGestureRecognizer *tapGestureRecognizer;
2526
@property (strong, nonatomic, readonly) NSURL *url;
2627

2728
@property (weak, nonatomic) id <QMImageViewDelegate> delegate;

QMChatViewController/Views/CustomUI/QMImageView/QMImageView.m

-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ - (void)configure {
383383
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
384384
initWithTarget:self
385385
action:@selector(handleTapGesture:)];
386-
387386
[self addGestureRecognizer:tap];
388387
self.tapGestureRecognizer = tap;
389388
self.userInteractionEnabled = YES;

0 commit comments

Comments
 (0)