Group Group Group Group Group Group Group Group Group

Chapter 22 - getLocation button - method

Could anyone help to implementing @IBAction getLocation() with the updated function in iOS 14?
authorizationStatus() was deprecated in iOS 14.0.
func locationManagerDidChangeAuthorization( _ manager: CLLocationManager)
Xcode complains when I type the one in the book, so instead the above function needs to be used.