I want to create an ios app with pedometer function.

Asked 2 years ago, Updated 2 years ago, 38 views

I'm a beginner in programming.

What kind of code should I write in order to create an ios app with pedometer function?

swift ios

2022-09-30 15:49

1 Answers

I think it's basic to read the value of the acceleration sensor and obtain the location information by integrating it.
People's movements are not simple, so you will need to remove noise and identify your movements.

For code that reads acceleration sensor values, you can refer to the article in XCode8Swift3 to obtain acceleration sensor values for iOS 9.3.


2022-09-30 15:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.