Contents

isFloorCountingAvailable()

Returns a Boolean value indicating whether floor counting is available on the current device.

Declaration

class func isFloorCountingAvailable() -> Bool

Return Value

true if floor counting is available or false if it is not.

Discussion

Floor counting indicates the ability to count the number of floors the user walks up or down using stairs. This capability is not supported on all devices.

See Also

Determining Pedometer Availability