Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate UIKit warning about root view controller #74

Open
tonyxiao opened this issue Aug 7, 2013 · 0 comments
Open

Eliminate UIKit warning about root view controller #74

tonyxiao opened this issue Aug 7, 2013 · 0 comments

Comments

@tonyxiao
Copy link

tonyxiao commented Aug 7, 2013

If I call [MTStatusBarOverlay sharedInstance] inside application:didFinishLaunchingWithOptions:, I get the following error message logged to console

Application windows are expected to have a root view controller at the end of application launch

Setting self.rootViewController = [[UIViewController alloc] init]; inside the init method of status bar overlay fixes the warning.

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

No branches or pull requests

1 participant