mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-27 22:51:35 +00:00
auto-hide home indicator
This commit is contained in:
parent
2dab9cca28
commit
65d377884b
@ -161,6 +161,10 @@ static int8_t usb_to_adb_scancode[] = {
|
||||
[[NSUserDefaults standardUserDefaults] removeObserver:self forKeyPath:@"trackpad"];
|
||||
}
|
||||
|
||||
- (BOOL)prefersHomeIndicatorAutoHidden {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event {
|
||||
if (motion == UIEventSubtypeMotionShake) {
|
||||
[[AppDelegate sharedInstance] showInsertDisk:self];
|
||||
|
Loading…
Reference in New Issue
Block a user