ORKLocationRecorder Class Reference

Inherits from ORKRecorder : NSObject
Declared in ORKLocationRecorder.h

The ORKLocationRecorder class represents a recorder for collecting location data from CoreLocation.

Because location data is sensitive information, you need to take special care in handling it, including removoing or otherwise preparing it for a anonymous data set.

The accuracy of location data may be limited indoors.

– initWithIdentifier:step:outputDirectory:

Returns an initialized location recorder.

- (instancetype)initWithIdentifier:(NSString *)identifier step:(nullable ORKStep *)step outputDirectory:(nullable NSURL *)outputDirectory



The unique identifier of the recorder (assigned by the recorder configuration).


The step that requested this recorder.


The directory in which the location data should be stored.

Return Value

An initialized location recorder.

Declared In



The location manager, if any, being used by this recorder.

@property (nonatomic, strong, nullable, readonly) CLLocationManager *locationManager

Declared In