After upgrading from Xcode 10.3.1 to Xcode 11.1 my custom Activity indicator added over all UIView is gone. It is added to keyWindow like this:
UIApplication.shared.keyWindow!.addSubview(PKHUD.sharedHUD)
After upgrading from Xcode 10.3.1 to Xcode 11.1 my custom Activity indicator added over all UIView is gone. It is added to keyWindow like this:
UIApplication.shared.keyWindow!.addSubview(PKHUD.sharedHUD)
Your UIView may need to be refactored.
Look at the inspector, do see the Buildtime warning:
'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes