• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What does CMDeviceMotion do if there is no gyro?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does CMDeviceMotion do if there is no gyro?


  • Subject: Re: What does CMDeviceMotion do if there is no gyro?
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 14 Sep 2011 11:46:57 -0700

On Tue, 13 Sep 2011 14:39:29 -0700, James Walker <email@hidden> said:
>The CMDeviceMotion Class Reference says "Because Core Motion is able to
>track a device’s attitude using both the gyroscope and the
>accelerometer, it can differentiate between gravity and user
>acceleration."  But what does it do if the device does not have a
>gyroscope

If the device lacks a gyroscope, the question doesn't arise - isDeviceMotionAvailable returns NO, device-motion services will be unavailable, and you're back to dealing directly with the accelerometer and interpreting it yourself. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What does CMDeviceMotion do if there is no gyro?
      • From: James Walker <email@hidden>
  • Prev by Date: Re: Responder-Chain question.
  • Next by Date: Re: What does CMDeviceMotion do if there is no gyro?
  • Previous by thread: What does CMDeviceMotion do if there is no gyro?
  • Next by thread: Re: What does CMDeviceMotion do if there is no gyro?
  • Index(es):
    • Date
    • Thread