diff --git a/ios/RNIModalSheetView/RNIModalSheetViewManager.mm b/ios/RNIModalSheetView/RNIModalSheetViewManager.mm index cb81dcc..8030663 100644 --- a/ios/RNIModalSheetView/RNIModalSheetViewManager.mm +++ b/ios/RNIModalSheetView/RNIModalSheetViewManager.mm @@ -25,7 +25,7 @@ @implementation RNIModalSheetViewManager #ifndef RCT_NEW_ARCH_ENABLED - (UIView *)view { - return [[RNIModalSheetView new] initWithBridge:self.bridge]; + return [[RNIModalSheetView alloc] initWithBridge:self.bridge]; } RNI_EXPORT_VIEW_PROPERTY(reactChildrenCount, NSNumber);