Recommended replacement for UIApplication.keyWindow in iOS 13?

What API should we be using to get the current key window in iOS 13? Apple deprecated the UIApplication.keyWindow API without mentioning any replacement.