ORKFitnessStepViewController Class Reference

Inherits from ORKActiveStepViewController : ORKStepViewController : UIViewController
Declared in ORKFitnessStepViewController.h
ORKFitnessStepViewController.m

Overview

Step view controller corresponding to ORKFitnessStep.

Observes countdown timer, heart rate, and distance, and relays these to the screen during the task.

– initWithStep:

Returns a new step view controller for the specified step.

- (instancetype)initWithStep:(ORKStep *)step

Parameters

step

The step to be presented.

Return Value

A newly initialized step view controller.

Declared In

ORKStepViewController.h

– recordersDidChange

Tells the view controller that the set of recorders changed.

- (void)recordersDidChange

Discussion

This method is usually called by the active step view controller in response to start or resume.

Subclasses may override this method.

Declared In

ORKActiveStepViewController.h