iOS - is Motion Activity Enabled in Settings > Privacy > Motion Activity
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: If an app requires access to Motion Activity data it asks the user at install. However if the user accidentally answers 'No', then the app will not work. I am looking for a way to check if the Motion Activity is enabled, so that I can prompt the user to enable if not. Can someone point me in the right direction code wise please? Following the info from Doc (Thank you), it seems that Apple do not provide a direct method to check the status of Motion Activity in Privacy. I was able to find out by picking up on the error:- [stepCounter