Skip to content

Commit 4c19edb

Browse files
committed
图片加个背景色
1 parent 4e0d4d8 commit 4c19edb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Coding_iOS/Vendor/MJPhotoBrowser/MJPhotoView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ - (id)initWithFrame:(CGRect)frame
2828
self.clipsToBounds = YES;
2929
// 图片
3030
_imageView = [[YLImageView alloc] init];
31+
_imageView.backgroundColor = kColorTableBG;
3132
_imageView.contentMode = UIViewContentModeScaleAspectFit;
3233
[self addSubview:_imageView];
3334

0 commit comments

Comments
 (0)