IOS7: enable home indicator auto-hide on iPhone X and up

This makes the annoying white line at the bottom of the screen go away
on newer (home button-less) iPhones.

https://developer.apple.com/documentation/uikit/uiviewcontroller/2887510-prefershomeindicatorautohidden
This commit is contained in:
Stefan Will 2019-10-18 18:54:34 -04:00 committed by Filippos Karapetis
parent 287a4a12e2
commit 67abb355f1

View File

@ -29,4 +29,8 @@
return YES;
}
- (BOOL)prefersHomeIndicatorAutoHidden {
return YES;
}
@end