From f0af3aab82f77ff3a7dba8354831ace802f1237f Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Mon, 18 Nov 2024 15:46:02 +0100 Subject: [PATCH] feat: add load method (#861) --- ios/RNPDFPdf/RNPDFPdfView.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ios/RNPDFPdf/RNPDFPdfView.mm b/ios/RNPDFPdf/RNPDFPdfView.mm index 99547c5d..5947cd2e 100644 --- a/ios/RNPDFPdf/RNPDFPdfView.mm +++ b/ios/RNPDFPdf/RNPDFPdfView.mm @@ -86,6 +86,12 @@ + (ComponentDescriptorProvider)componentDescriptorProvider return concreteComponentDescriptorProvider(); } +// Needed because of this: https://github.com/facebook/react-native/pull/37274 ++ (void)load +{ + [super load]; +} + - (instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) {