IOS-iOS Positioning method and ios-ios Positioning
IOS provides three different positioning methods:
1. WiFi positioning: query the geographic location information of a Wi-Fi router to save power. iPhone, iPod touch, and iPad can be used;
2. Positioning of cellular mobile phone base stations. Only iPhone and 3G iPod touch and iPad can be used through mobile operator base stations.
3. GPS satellite positioning: GPS satellite positioning is the most accurate, but the power consumption is high and cannot be blocked. iPhone, iPod touch, and iPad can be used.
Differences between iOS and Android systems:
When locating Service programming, Android can specify which method to locate. The iOS API shields the underlying details. developers and users do not know which method the device uses to locate the problem. The iOS system will locate the problem based on the device situation and the surrounding environment, use an optimal solution. This solution is as follows: if GPS information can be received, GPS positioning is preferred for devices; otherwise, WiFi or cellular base station positioning is preferred, and WiFi is preferred between Wi-Fi and cellular base stations, if you cannot connect to WiFi, use the cell Base Station to locate the problem.
Advantages and disadvantages of GPS positioning:
Advantage: accurate and wide coverage, but cannot be blocked (GPS satellite signals may not be received in buildings). After GPS is enabled, it consumes much power. The cellular base station not only has a large error, but also consumes the user traffic fee. WiFi should be the most economical.