Select location from non lat / lon carrier

Most people will remember the old Nokia phones that showed your current area (cell) to which you are connected.

Is this information available on iOS? if so, how to get this information?

I mean, when in New York, for example, he would return “Fulton” as a district ...

+4
source share
3 answers

You do not get access to information about the cell tower, as described in iOS, however you can always use the CoreLocation infrastructure (MapKit, if you want, for some reason, on the contrary, refuse compatibility with iOS 5.0), make a reverse geocode and get as detailed as possible.

For iOS 7.0, you are using the CLGeocoder object.

CLGeocoder *geocoder = [[CLGeocoder alloc] init]; [geocoder reverseGeocodeLocation:location completionHandler:^(NSArray *placemarks, NSError *error) { // Iterate through available placemarks }]; 

The location parameter is the CLLocation object that you received or created for the user's location. For reverse geocoding requests, the array in the completion handler will contain only one label. Various properties and their corresponding real-world relationships for the label object are marked here.

+1
source

The only thing we can get from the mesh tower is the basic telephone structure.

 Obtaining Information About the Cellular Service Provider allowsVOIP property carrierName property isoCountryCode property mobileCountryCode property mobileNetworkCode property 

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CoreTelephonyFrameworkReference/_index.html

0
source

Apple does not currently provide any public API that displays cell metadata. In terms of how they approach the telephony API design, I don’t see this becoming a feature in the future.

Check out: Getting cell info in an iOS app?

0
source

Source: https://habr.com/ru/post/1497917/


All Articles