我正在努力让CMPedometer返回任何步数数据。但是Iconfigure我得到ErrorDomain=CMErrorDomainCode=103"Theoperationcouldn'tbecompleted.(CMErrorDomainerror103.)"我正在使用swift并将queryPedometerDataFromDate查询分解为尽可能简单。letpedometer=CMPedometer()letfromDateString="2015-01-22"lettoDateString="2015-01-23"letdateFormatter=NSDateFormatte
我正在努力让CMPedometer返回任何步数数据。但是Iconfigure我得到ErrorDomain=CMErrorDomainCode=103"Theoperationcouldn'tbecompleted.(CMErrorDomainerror103.)"我正在使用swift并将queryPedometerDataFromDate查询分解为尽可能简单。letpedometer=CMPedometer()letfromDateString="2015-01-22"lettoDateString="2015-01-23"letdateFormatter=NSDateFormatte