Join Steven Lipton for an in-depth discussion in this video Push and pull device motion, part of Advanced iOS App Development: Core Motion.
- [Instructor] Even when the sensors exist,…there's a problem with the sensors.…Raw sensors do not distinguish…between Earth's gravity compared to user accelerations.…You can use the raw sensors if you wish,…but for most cases, you'll want to use…the CMDeviceMotion class to minimize…this and other forms of noise.…You can push or pull device motion.…Let's start device motion up by making another function.…We'll call it my device motion.…Func.…
My device motion.…I'm going to add a property to the class…of interval.…And we'll do it for half a second.…And then back down in my device motion,…I'll add the following, motion manager,…and then I'm going to start to do this typing here,…T A R T D E V, and you'll see the four choices that…are going to pop up for device motion updates.…
Two are for pushing, and two are for pulling.…In each of a method it sets the reference frame,…which I'll talk about later.…Let's look at pushing device motion first.…Select the one that says start device…motion updates to with handler.…This requires an operation queue.…
- Reading Core Motion data
- Understanding Core Motion methods
- Creating a pedometer app
- Using pace and distance data from Core Motion
- Pushing and pulling device motion data
- Accessing the altitude sensors
- Working with the motion activity manager (CMMotionActivityManager)
Skill Level Advanced
iOS App Development: Accessibilitywith Kevin Favro2h 34m Intermediate
Advanced iOS Development: Working with APIswith Saul Mora1h 59m Intermediate
1. Core Motion Introduction
3. Device Motion
5. Recorded Data
Next steps1m 43s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.