dekatotoro / dekatotoro/SlideMenuControllerSwift

Placing main view into SlideMenuController causes preferredStatusBarStyle() to be ignored

Open
#211 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

As the title states, after putting my main view into the slide menu controller, the method `preferredStatusBarStyle()` is no longer applied to any children views. I confirmed this by backing out the slide out menu code and it started working again.

Here is my `preferredStatusBarStyle` code:

``` swift
class MainNavigationController: UINavigationController {

...

override func preferredStatusBarStyle() -> UIStatusBarStyle {
return UIStatusBarStyle.LightContent
}

}
```

I'm not truly sure what could cause this, but any insight is greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.