diff --git a/packages/react-native/React/CoreModules/RCTActionSheetManager.mm b/packages/react-native/React/CoreModules/RCTActionSheetManager.mm index dbe389a1eced46..f8df74b2401604 100644 --- a/packages/react-native/React/CoreModules/RCTActionSheetManager.mm +++ b/packages/react-native/React/CoreModules/RCTActionSheetManager.mm @@ -100,9 +100,9 @@ - (void)presentViewController:(UIViewController *)alertController [RCTConvert UIColor:options.cancelButtonTintColor() ? @(*options.cancelButtonTintColor()) : nil]; NSString *userInterfaceStyle = [RCTConvert NSString:options.userInterfaceStyle()]; - UIViewController *controller = RCTPresentedViewController(); - dispatch_async(dispatch_get_main_queue(), ^{ + UIViewController *controller = RCTPresentedViewController(); + if (controller == nil) { RCTLogError( @"Tried to display action sheet but there is no application window. options: %@", @{