Skip to content

Commit

Permalink
Set the PDF View background color to be transparent so we see the sty…
Browse files Browse the repository at this point in the history
…le prop color
  • Loading branch information
bcgilliom committed Mar 19, 2020
1 parent ec6bdd0 commit 18f941c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/RCTPdf/RCTPdfView.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ - (instancetype)init
_pdfView.autoScales = YES;
_pdfView.displaysPageBreaks = YES;
_pdfView.displayBox = kPDFDisplayBoxCropBox;

_pdfView.backgroundColor = [UIColor clearColor];

_fixScaleFactor = -1.0f;
_initialed = NO;
_changedProps = NULL;
Expand Down

0 comments on commit 18f941c

Please sign in to comment.