First, Introduction
1. In the era of mobile internet, mobile apps can solve many of the user's life chores, such as
(1) navigation : Go to any unfamiliar place
(2) nearby : Find a restaurant, find a hotel, find a bank, find a cinema
2. In the above application, maps and positioning functions are used, in iOS development, in order to join the 2 major functions, must be based on 2 frameworks for development
(1) MapKit : for maps
(2)Core location: for geolocation
3. Two hot technical terms
(1)LBS : Location Based Service (targeting-based services)
(2) solomo:social Local Mobile (Solomon)
Ii. use of the corelocation framework
1.CoreLocation Framework Usage Prerequisites
(1) Import frame
Description: After XCODE5, we no longer need to manually import
(2) Import the main header file
#import <CoreLocation/CoreLocation.h>
2.CoreLocation Frame Usage Notes
The prefix for all data types in the Corelocation framework is CL
Using Cllocationmanager objects in corelocation to do user positioning
Third, latitude and longitude of geographical information literacy
1.
2. Prime meridian: Through the London Greenwenger Observatory
Go East (right), it's longitude (E)
Go West (to the left), it's longitude (W)
East and West 180 °, total 360 °
3. Equator: Zero Dimension
Go North (top), Latitude (N)
Go south (below), it's southern latitude (S)
South latitude 90 °, a total of 180 °
Tip: The larger the longitude \ Latitude (1°≈111km), the greater the range, the smaller the things you see on the map
4. Latitude and longitude of our country:
(1) Latitude and longitude range of China
Latitude range: N 3°51′~ n 53°33′
Longitude range: E 73°33′~ e 135°05′
(2) Latitude and longitude of some cities
Four, analog position
Description: Set the analog location (latitude and longitude) of the phone simulator when testing the program.
iOS development and expansion Chapter-corelocation Brief Introduction