Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

prefersStatusBarHidden is not called in the FrontViewController #246

Open
enix223 opened this issue Feb 13, 2017 · 0 comments
Open

prefersStatusBarHidden is not called in the FrontViewController #246

enix223 opened this issue Feb 13, 2017 · 0 comments

Comments

@enix223
Copy link

enix223 commented Feb 13, 2017

PKRevealController is an awesome lib, and it makes my life much easier. Thank you...

But I have got an issue when defining the view-base status bar status in the front view controller.

I have defined the prefersStatusBarHidden method as below:

- (BOOL)prefersStatusBarHidden {
    return self.navigationController.isNavigationBarHidden;
}

But this method is never called, even I have set the View controller-based status bar appearance to YES in the info.plist.

I am sure this method will be called if I am not using the PKRevealController.

Any idea?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant