Skip to content

Commit f0af3aa

Browse files
authored
feat: add load method (#861)
1 parent bff3b07 commit f0af3aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ios/RNPDFPdf/RNPDFPdfView.mm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ + (ComponentDescriptorProvider)componentDescriptorProvider
8686
return concreteComponentDescriptorProvider<RNPDFPdfViewComponentDescriptor>();
8787
}
8888

89+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
90+
+ (void)load
91+
{
92+
[super load];
93+
}
94+
8995
- (instancetype)initWithFrame:(CGRect)frame
9096
{
9197
if (self = [super initWithFrame:frame]) {

0 commit comments

Comments
 (0)