diff --git a/packages/react-native-reanimated/apple/reanimated/LayoutReanimation/REASnapshot.m b/packages/react-native-reanimated/apple/reanimated/LayoutReanimation/REASnapshot.m index 893aebac504..e4ab9977d67 100644 --- a/packages/react-native-reanimated/apple/reanimated/LayoutReanimation/REASnapshot.m +++ b/packages/react-native-reanimated/apple/reanimated/LayoutReanimation/REASnapshot.m @@ -39,7 +39,7 @@ - (void)makeSnapshotForView:(REAUIView *)view withOffsetY:(double)offsetY { #if TARGET_OS_OSX - REAUIView *mainWindow = UIApplication.sharedApplication.keyWindow; + NSView *mainWindow = UIApplication.sharedApplication.keyWindow.contentView; #else REAUIView *mainWindow = RCTKeyWindow(); #endif