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]) {