The latitude and longitude associated with a location, specified using the WGS 84 reference frame.


struct CLLocationCoordinate2D



var latitude: CLLocationDegrees

The latitude in degrees.

var longitude: CLLocationDegrees

The longitude in degrees.

Coordinate Functions

func CLLocationCoordinate2DIsValid(CLLocationCoordinate2D) -> Bool

Returns a Boolean value indicating whether the specified coordinate is valid.

func CLLocationCoordinate2DMake(CLLocationDegrees, CLLocationDegrees) -> CLLocationCoordinate2D

Formats a latitude and longitude value into a coordinate data structure format.

See Also

Location Updates

Getting the User's Location

Receive location data in your app.

class CLLocation

The latitude, longitude, and course information reported by the system.

class CLFloor

The floor of a building on which the user's device is located.

class CLVisit

Information about the user's location during a specific period of time.