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

Xcode 11 beta 4 #815

Open
smartcat32 opened this issue Jul 25, 2019 · 3 comments
Open

Xcode 11 beta 4 #815

smartcat32 opened this issue Jul 25, 2019 · 3 comments

Comments

@smartcat32
Copy link

I've used this control for many years now.

Using Xcode 11 beta 4, on iOS 13 simulator, I assert and crash in SWRevealView's statusBarView method, at line:
if ([object respondsToSelector:NSSelectorFromString(key)]) statusBar = [object valueForKey:key];

*** Assertion failure in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3898.6/UIApplication.m:5237

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.'

Anyone have a fork with a fix?

@iDevelopper
Copy link

@smartcat32
Copy link
Author

Thanks! Will make the switch.

@atalayasa
Copy link

atalayasa commented Oct 9, 2019

// SOLVED
@smartcat32 Have you found a solution for that? I also have same issue library is not working iOS 13 anymore.
// Solution
Problem is not about library. I was using navBar customization code which includes

        if let statusbar = UIApplication.shared.value(forKey: "statusBar") as? UIView {
            statusbar.backgroundColor = UIColor.clear
        }

I removed it from my code because the status bar window has gone in iOS 13

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

3 participants