diff --git a/ios/RNCSafeAreaProvider.m b/ios/RNCSafeAreaProvider.m index 63523661..69d537b7 100644 --- a/ios/RNCSafeAreaProvider.m +++ b/ios/RNCSafeAreaProvider.m @@ -26,6 +26,10 @@ - (instancetype)init selector:@selector(invalidateSafeAreaInsets) name:UIKeyboardDidChangeFrameNotification object:nil]; + [NSNotificationCenter.defaultCenter addObserver:self + selector:@selector(invalidateSafeAreaInsets) + name:UIWindowDidBecomeVisibleNotification + object:nil]; #endif } return self;