diff --git a/iOS_SDK/OneSignalSDK/OneSignalInAppMessages/Controller/OSMessagingController.m b/iOS_SDK/OneSignalSDK/OneSignalInAppMessages/Controller/OSMessagingController.m index 579806d54..17fba3d46 100644 --- a/iOS_SDK/OneSignalSDK/OneSignalInAppMessages/Controller/OSMessagingController.m +++ b/iOS_SDK/OneSignalSDK/OneSignalInAppMessages/Controller/OSMessagingController.m @@ -901,6 +901,7 @@ - (void)messageViewDidDisplayPage:(OSInAppMessageInternal *)message withPageId:( - (void)messageIsNotActive:(OSInAppMessageInternal *)message { [self deleteInactiveMessage:message]; + [self cleanUpInAppWindow]; } - (void)messageWillDisplay:(nonnull OSInAppMessageInternal *)message {