Skip to content

Commit f0e94f7

Browse files
committed
Change background color to clear
1 parent fc877f9 commit f0e94f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/RNPhotoView.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ - (void)initView {
389389
_maxZoomScale = 5.0;
390390

391391
// Setup
392-
self.backgroundColor = [UIColor whiteColor];
392+
self.backgroundColor = [UIColor clearColor];
393393
self.delegate = self;
394394
self.decelerationRate = UIScrollViewDecelerationRateFast;
395395
self.showsVerticalScrollIndicator = YES;
@@ -399,12 +399,12 @@ - (void)initView {
399399
_tapView = [[MWTapDetectingView alloc] initWithFrame:self.bounds];
400400
_tapView.tapDelegate = self;
401401
_tapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
402-
_tapView.backgroundColor = [UIColor whiteColor];
402+
_tapView.backgroundColor = [UIColor clearColor];
403403
[self addSubview:_tapView];
404404

405405
// Image view
406406
_photoImageView = [[MWTapDetectingImageView alloc] initWithFrame:self.bounds];
407-
_photoImageView.backgroundColor = [UIColor whiteColor];
407+
_photoImageView.backgroundColor = [UIColor clearColor];
408408
_photoImageView.contentMode = UIViewContentModeCenter;
409409
_photoImageView.tapDelegate = self;
410410
[self addSubview:_photoImageView];

0 commit comments

Comments
 (0)