I have an issue with this function, it worked perfectly until the update. What may be the right solution?
func checkLocationAuthorization() { switch CLLoc