From 54ce816ba47bc208c6a9f472058b4e5e87e1e8d8 Mon Sep 17 00:00:00 2001 From: Mingwei Pan Date: Tue, 26 Mar 2019 14:18:52 +0800 Subject: [PATCH] Avoid making DTXTouchVisualizerWindow the keyWindow --- detox/ios/Detox/DetoxAppDelegateProxy.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/detox/ios/Detox/DetoxAppDelegateProxy.m b/detox/ios/Detox/DetoxAppDelegateProxy.m index 90078db830..7a21d62612 100644 --- a/detox/ios/Detox/DetoxAppDelegateProxy.m +++ b/detox/ios/Detox/DetoxAppDelegateProxy.m @@ -23,6 +23,11 @@ - (UIWindow *)overlayWindow return self; } +- (BOOL)_canBecomeKeyWindow +{ + return NO; +} + @end @class DetoxAppDelegateProxy;