please tell me the solution i have ios 13 but you pod did not work here and crashes due to this Function did not return a Window see this code
fileprivate func getKeyWindow() -> UIWindow? {
let window = UIApplication.shared.connectedScenes
.filter({$0.activationState == .foregroundActive})
.map({$0 as? UIWindowScene})
.compactMap({$0})
.first?.windows
.filter({$0.isKeyWindow}).first
please tell me the solution i have ios 13 but you pod did not work here and crashes due to this Function did not return a Window see this code fileprivate func getKeyWindow() -> UIWindow? { let window = UIApplication.shared.connectedScenes .filter({$0.activationState == .foregroundActive}) .map({$0 as? UIWindowScene}) .compactMap({$0}) .first?.windows .filter({$0.isKeyWindow}).first