geolocation - How does iPhone do geo locating? -


Since the iPhone has 3 generations, what is the geographic detection system (WiFi, GPS, any other way?)? I am developing the iPhone recently, so I want to think deep about this.

(I need a list of all the ways to find out and a specific introduction)

thanks

The iPhone / iPod Touch is provided by a non-GPS geographic location engine. In most cities, they have operated mostly roads with their geographical location wings to make WiFi numbers in comparison to GPS, and this is primarily the data that the iPhone uses to achieve its correction.

It is also interesting that Skyhook uses the iPhone to "auto-select" its access point database if they receive a point that is not in their database, or if they are considered otherwise Refine the data.

I talked about this technique to Skyhook's Kate Immbec a few times, and I am surprised that they do not use GPS in combination with WIFI triangle to improve mapping data, But it seems that this is not the case.

He said, part of the specific methods of your question is a different story: the iPhone SDK has all this essence to you

  CLLocationManager * LM = [[CLLocationManager alloc] init ]; Just need to import core selection frameworks in your project, adopting the CLLocationManagerDelegate Protocol  

; [[Self Location Manager] setDelegate: self]; [[Self-Position Manager] Setcidid Actuci: KCL LaunchEXAcAst]; [[Self-Position Manager] start-up location];

You can then ask your location manager or

  - (Zero) get updates for location manager: (CLLocationManager *) Manager Update Lotto: (CLLocation *) newLocation fromLocation: (CLLocation *) Old Location {NSLog (@ "Location changed!"); } - (Zero) Position Manager: (CLLocationManager *) Manager didFailWithError: (NSError *) Error {}  

This should be you!


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -