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



var latitude: CLLocationDegrees

The latitude in degrees.

var longitude: CLLocationDegrees

The longitude in degrees.

Coordinate Functions

func CLLocationCoordinate2DIsValid(CLLocationCoordinate2D)

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

func CLLocationCoordinate2DMake(CLLocationDegrees, CLLocationDegrees)

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

See Also

Location Updates

Getting the User's Location

Learn how to 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.