SideMenu: Crash iOS 13 on Real Device
NSInternalInconsistencyExceptionfunction signature specialization <Arg[0] = Dead> of static (extension in SideMenuSwift):__C.UIWindow.sb.getter : __C.UIWindow?
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.
I think the issue is here static var sb: UIWindow? on StatusBar.swift file.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 24 (9 by maintainers)
The status bar window has gone in iOS 13. I have to found another way to animate the status bar.
Update✅: This issue was resolved in 2.0.2 by disabling status bar animation in iOS 13 temporarily.
Guys, checkout branch
ios13for a workaround.@kukushi It actually started to work for me after multiple cleans
Hi @kukushi We are close to the release of iOS 13, would have as a branch with a workaround? Thanks
@jmoia Beta sdk may change from time to time, so I will fix it on some later betas.
I am getting crashed when I’m trying to fetch
foregroundViewusingUIApplication.shared.value(forKey: "statusBar"), I’m using XCode 11, iOS 13I had to check this so I just commented out some codes related to Status Bar. BasicTransitionAnimator worked with xcode11 beta5 & ios13. I haven’t checked more than that.
https://github.com/hiroshi12465643/SideMenu/blob/06a773af044bbea084ba9f1eda80d05d50e812bb/SideMenu/SideMenuController.swift