1 // Copyright 2015-present 650 Industries. All rights reserved. 2 3 #import <Foundation/Foundation.h> 4 5 @interface EXDevMenuMotionInterceptor : NSObject 6 7 /** 8 * Installs motion interceptor. Overrides the default implementation of `motionEnded:withEvent:` in `UIWindow`. 9 */ 10 + (void)install; 11 12 /** 13 * Uninstalls motion interceptor. Brings back the default implementation of `motionEnded:withEvent:` in `UIWindow`. 14 */ 15 + (void)uninstall; 16 17 /** 18 * Returns `YES` if motion interceptor is currently installed, `NO` otherwise. 19 */ 20 + (BOOL)isInstalled; 21 22 @end 23