Created
May 1, 2016 09:28
-
-
Save malcommac/03718586059f9922793d24c2563fdfd7 to your computer and use it in GitHub Desktop.
Location Finder Via IP Address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LocationManager.shared.locateByIPAddress(onSuccess: { placemark in | |
// placemark is a valid CLPlacemark object | |
}) { error in | |
// something wrong has occurred; error will tell you what | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment