CoreMotion.CMStepCounter Class
On supported devices, stores the number of steps the user has taken with the device and allows step-counting to be dynamically tracked.

See Also: CMStepCounter Members

Syntax

[Foundation.Register("CMStepCounter", true)]
[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_8_0, Message="Use CMPedometer instead")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public class CMStepCounter : Foundation.NSObject

Remarks

Not all devices support step counting. Application developers should check CMStepCounter.IsStepCountingAvailable.

Related content

Requirements

Namespace: CoreMotion
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0