addressDictionary is deprecated: first deprecated in iOS 11.0 - Use @properties
I'm working with to get locations and address. For i'm getting location successfully but at the time getting address i'm getting warning like, 'addressDictionary' is deprecated: first deprecated in iOS 11.0 - Use @properties Is any solution for this... In Swift 5 //let location: CLLocation = CLLocation(latitude: 16.511131, longitude: 80.658725)//Convert lat & lng in to CLLocation let geocoder = CLGeocoder() geocoder.reverseGeocodeLocation(location) { (placemarksArray, error) in print(placemarksArray!) if (error) == nil { if placemarksArray!.count > 0 { let placemark = placemarksArray?[0] let