File tree Expand file tree Collapse file tree
TZImagePickerController/TZImagePickerController Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ - (void)configSubviews {
6161 strongSelf.imageProgressUpdateBlock (progress);
6262 }
6363 }];
64- [self addSubview: self .previewView];
64+ [self .contentView addSubview: self .previewView];
6565}
6666
6767- (void )setModel : (TZAssetModel *)model {
@@ -418,9 +418,9 @@ - (void)configPlayButton {
418418 [_playButton setImage: [UIImage tz_imageNamedFromMyBundle: @" MMVideoPreviewPlay" ] forState: UIControlStateNormal];
419419 [_playButton setImage: [UIImage tz_imageNamedFromMyBundle: @" MMVideoPreviewPlayHL" ] forState: UIControlStateHighlighted];
420420 [_playButton addTarget: self action: @selector (playButtonClick ) forControlEvents: UIControlEventTouchUpInside];
421- [self addSubview: _playButton];
422- [self addSubview: _iCloudErrorIcon];
423- [self addSubview: _iCloudErrorLabel];
421+ [self .contentView addSubview: _playButton];
422+ [self .contentView addSubview: _iCloudErrorIcon];
423+ [self .contentView addSubview: _iCloudErrorLabel];
424424}
425425
426426- (void )setModel : (TZAssetModel *)model {
@@ -544,7 +544,7 @@ - (void)configPreviewView {
544544 __strong typeof (weakSelf) strongSelf = weakSelf;
545545 [strongSelf signleTapAction ];
546546 }];
547- [self addSubview: _previewView];
547+ [self .contentView addSubview: _previewView];
548548}
549549
550550- (void )setModel : (TZAssetModel *)model {
You can’t perform that action at this time.
0 commit comments