From 89a8d76faf6d04caa37988814a5f59e7142d6547 Mon Sep 17 00:00:00 2001 From: Dony Sukardi Date: Thu, 23 May 2019 10:04:54 +0800 Subject: [PATCH] Use shouldDisplay to enable / disable annotation rendering on iOS --- ios/RCTPdf/RCTPdfView.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ios/RCTPdf/RCTPdfView.m b/ios/RCTPdf/RCTPdfView.m index c91d70d7..6e607013 100644 --- a/ios/RCTPdf/RCTPdfView.m +++ b/ios/RCTPdf/RCTPdfView.m @@ -150,8 +150,7 @@ - (void)didSetProps:(NSArray *)changedProps for (unsigned long i=0; i<_pdfView.document.pageCount; i++) { PDFPage *pdfPage = [_pdfView.document pageAtIndex:i]; for (unsigned long j=0; j