-2

I am stuck here in extracting latitude and longitude for a given postal code. can anyone please help me figuring out this issue?

1 Answers1

0

You should be able to use the CLGeocoder method geocodePostalAddress(_:completionHandler:) to convert an address that contains just a postal code into a CLLocation.

See Apple's documentation on the CLGeocoder class reference for information on using it.

Duncan C
  • 128,072
  • 22
  • 173
  • 272