I run this code in viewDidLoad, but it doesn't even run the print(!!!) statement. What should I check? Instead of <address>, I have a real address. geocoder.geocodeAddressString(<address>) { [weak self] placemarks, error in print(!!!) guard !(error != nil) else { print(error) return } if let placemarks = placemarks, let placemark = placemarks.first { self!.church = placemark print(self!.church) } else { print(Church cannot be found.) } }
0
0
551