On the last Google I/O was introduced a new service in the Location API's in Android - Activity Recognition.
Is there such a framework for iOS?
We can say Activity is equivalent to ViewController, since it has its own lifecycle( onCreate in Android and viewDidLoad in iOS) but not fully.
The Activity Recognition API automatically detects activities by periodically reading short bursts of sensor data and processing them using machine learning models.
I realize this question is old, but for future reference CMMotionActivity provides this functionality. New to iOS 7 and enabled by the M7 coprocessor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With