Skip to content

Commit e7ebc84

Browse files
committed
修复allowPreview为NO时点击视频底部灰条还可以去预览页的bug
1 parent a15900e commit e7ebc84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

TZImagePickerController/TZImagePickerController/TZAssetCell.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ - (UIView *)bottomView {
284284
if (_bottomView == nil) {
285285
UIView *bottomView = [[UIView alloc] init];
286286
static NSInteger rgb = 0;
287+
bottomView.userInteractionEnabled = NO;
287288
bottomView.backgroundColor = [UIColor colorWithRed:rgb green:rgb blue:rgb alpha:0.8];
288289
[self.contentView addSubview:bottomView];
289290
_bottomView = bottomView;

0 commit comments

Comments
 (0)