Created
December 3, 2017 17:23
-
-
Save hungtruong/1eeea58893ea005a92d49d65e7b04270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hides the home indicator on the inactive and passcode entry view | |
override func prefersHomeIndicatorAutoHidden() -> Bool { | |
switch passcodeViewMode { | |
case .inactive, .passcodeEntry: | |
return true | |
default: | |
return false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment