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

iOS 13 以上版本delegate 中window为空的情况崩溃. #1551

Open
AnanHou opened this issue May 8, 2024 · 1 comment
Open

iOS 13 以上版本delegate 中window为空的情况崩溃. #1551

AnanHou opened this issue May 8, 2024 · 1 comment

Comments

@AnanHou
Copy link

AnanHou commented May 8, 2024

Bug 表现
问题的具体描述

截图
Bug 现场的界面截图,或者 Xcode 控制台的错误信息截图,有问题的代码截图
image

预期的表现
需要做版本下兼容,delegate没有window的情况.
其他信息

  • iOS 版本: [iOS 14.x]
  • QMUI 版本: [4.7.0]
@TheDukeFamily
Copy link

在APPDelegate声明一个window,然后SceneDelegate初始化window的时候,把window赋值给APPDelegate的window

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

2 participants