【发布时间】:2019-10-24 13:55:49
【问题描述】:
在它工作之前,当我更新 iOS 13 并将 xCode 更新到 11 时,我无法使用侧边栏。该应用程序正在使用 pod SideMenuController,当我单击侧面菜单的图标以显示它时,它崩溃并显示以下消息:
Assertion failure in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3899.22.15/UIApplication.m:5311
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.'
【问题讨论】:
-
在我们回复您之前,请您粘贴您的代码
标签: ios swift ios13 swift4.2 side-menu