kou8910

Results 4 comments of kou8910

[ [WhisperDome.zip](https://github.com/hyperoslo/Whisper/files/5562945/WhisperDome.zip) ](url)

` let murmur = Murmur(title: "This is a permanent whistle...", backgroundColor: UIColor.red, titleColor: UIColor.white) Whisper.show(whistle: murmur, action: .present)` ` let murmur = Murmur(title: "This is a small whistle...", backgroundColor: UIColor(red:...

> 奇怪的@ kou8910,可以在演示项目中重现吗? 已经上传 你看下

找到问题了 iOS 13 之前 var whistleWindow: UIWindow = UIWindow() iOS 13 之后 需要改成 `if #available(iOS 13.0, *) { if let firstScene: UIWindowScene = UIApplication.shared.connectedScenes.filter({ $0.activationState == .foregroundActive }).first as? UIWindowScene...