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