diff --git a/FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMRenderingWindowHelper.m b/FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMRenderingWindowHelper.m index e920a32e63c..7eb340db56b 100644 --- a/FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMRenderingWindowHelper.m +++ b/FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMRenderingWindowHelper.m @@ -37,7 +37,8 @@ + (UIWindow *)windowForBlockingView { #if defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 } #endif // defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 - UIWindowForModal.windowLevel = UIWindowLevelNormal; + // NOTE: iPad で Keyboard accessory view が前面に表示されてしまうため window level をカスタマイズ + UIWindowForModal.windowLevel = UIWindowLevelStatusBar; }); return UIWindowForModal; } @@ -57,7 +58,8 @@ + (UIWindow *)windowForNonBlockingView { #if defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 } #endif - UIWindowForBanner.windowLevel = UIWindowLevelNormal; + // NOTE: iPad で Keyboard accessory view が前面に表示されてしまうため window level をカスタマイズ + UIWindowForBanner.windowLevel = UIWindowLevelStatusBar; }); return UIWindowForBanner;