Mac Developer Library

Developer

EKStructuredLocation Class Reference

Options
Deployment Target:

On This Page

EKStructuredLocation

The EKStructuredLocation class specifies a geofence that can be used to trigger the alarm of a calendar item. Use locationWithTitle: to create a new structured location, then set it to the structuredLocation property of an EKAlarm object.

  • Creates a new structured location.

    Declaration

    + (EKStructuredLocation *)locationWithTitle:(NSString *)title;

    Parameters

    title

    The title of the location.

    Return Value

    The structured location object.

  • The title of the location.

    Declaration

    @property(nonatomic, retain) NSString *title;

  • The core location.

    Declaration

    @property(nonatomic, retain) CLLocation *geoLocation;

  • A minimum distance from the core location that would trigger the alarm or reminder.

    Declaration

    @property(nonatomic) double radius;

    Discussion

    To use the default radius, set this property to 0.