I'm working on an app that requires step counting.
There are several devices that don't support this feature (for example in my iPad mini 2, CMPedometer.isStepCountingAvailable()
returns false
).
Since the app heavily relies on the pedometer, I'd like to make it unavailable to download for unsupported devices.
I would expect to find a pedometer-related entry in the documentation of UIRequiredDeviceCapabilities
, but there is none.
Is this possible in any way?
No, it is not possible to make an app unavailable for download on the basis of
CMPedometer.isStepCountingAvailable()
. The preferred method would be to display a notice to the user once downloaded, that their device does not support the required functionality.