Commit e7ebc84b authored by yuzheng's avatar yuzheng

修复allowPreview为NO时点击视频底部灰条还可以去预览页的bug

parent a15900e3
...@@ -284,6 +284,7 @@ ...@@ -284,6 +284,7 @@
if (_bottomView == nil) { if (_bottomView == nil) {
UIView *bottomView = [[UIView alloc] init]; UIView *bottomView = [[UIView alloc] init];
static NSInteger rgb = 0; static NSInteger rgb = 0;
bottomView.userInteractionEnabled = NO;
bottomView.backgroundColor = [UIColor colorWithRed:rgb green:rgb blue:rgb alpha:0.8]; bottomView.backgroundColor = [UIColor colorWithRed:rgb green:rgb blue:rgb alpha:0.8];
[self.contentView addSubview:bottomView]; [self.contentView addSubview:bottomView];
_bottomView = bottomView; _bottomView = bottomView;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment