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

Property "preferredStatusBarStyle" of "UIViewController" has become readonly, leading to crash. #100

Open
Yannmm opened this issue Oct 10, 2016 · 6 comments

Comments

@Yannmm
Copy link

Yannmm commented Oct 10, 2016

CWStatusBarNotification.m line 381:

rootViewController.preferredStatusBarStyle = self.preferredStatusBarStyle;

This line cause carsh in iOS10, probably because apple has change the property preferredStatusBarStyle to readonly, thus can't be set so.

@protspace
Copy link

the same for me

@dheerajkatarya
Copy link

Same for me

@protspace
Copy link

added manually as a folder and it worked for me. Strange..

@Yannmm
Copy link
Author

Yannmm commented Oct 18, 2016

@protspace you mean adding CWStatusBarNotification manually instead of cocoapods? you probably wanna clean your project and run it again, to make sure it works.😂

@protspace
Copy link

Yep, manually. Cleaning didn't work ) Probably Xcode 8 problem and i should delete Derived Data manually..

@Dewinster
Copy link

Renaming the preferredStatusBarStyle variable worked for me

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

4 participants