Skip to content

NSDeveloper/WindowsHideHomeIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WindowsHideHomeIndicator

Demo for SO Question 58913572

After add a SkinCoverWindow, code - (BOOL)prefersHomeIndicatorAutoHidden { return YES; } in view controller don't auto hide home indicator.

I solved this by nofity SkinCoverRootViewController to update.

Is there a solution that can automatically work?

- (void)updateHomeIndicator:(NSNotification *)notification {
    BOOL autoHidden = [notification.object boolValue];
    self.autoHidden = autoHidden;
    if (@available(iOS 11.0, *)) {
        [self setNeedsUpdateOfHomeIndicatorAutoHidden];
    }
}
- (BOOL)prefersHomeIndicatorAutoHidden {
    return self.autoHidden;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published