diff --git a/packages/react-native/React/CoreModules/RCTDeviceInfo.mm b/packages/react-native/React/CoreModules/RCTDeviceInfo.mm index b72352f5453..454a3252cc5 100644 --- a/packages/react-native/React/CoreModules/RCTDeviceInfo.mm +++ b/packages/react-native/React/CoreModules/RCTDeviceInfo.mm @@ -214,7 +214,7 @@ static NSDictionary *RCTExportedDimensions(CGFloat fontScale) - (void)_interfaceOrientationDidChange { -#if TARGET_OS_IOS +#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST UIApplication *application = RCTSharedApplication(); UIInterfaceOrientation nextOrientation = RCTKeyWindow().windowScene.interfaceOrientation;