I am using a UICollectionView with a Map in the header.
I want to handle Core Location errors. I have 3 error types and for two of them I want to present a UIA
UIA
Use the window's root view controller to present the alert:
self.window?.rootViewController?.present(alert, animated: true, completion: nil)