Contents

isDistanceAvailable()

Returns a Boolean value indicating whether distance estimation is available on the current device.

Declaration

class func isDistanceAvailable() -> Bool

Return Value

true if distance estimation is available or false if it is not.

Discussion

Distance estimation indicates the ability to use step information to supply the approximate distance traveled by the user. This capability is not supported on all devices.

See Also

Determining Pedometer Availability