You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
// 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
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?
The text was updated successfully, but these errors were encountered: