Questions tagged [cmmotionmanager]

Use for questions regarding CMMotionManager objects; an NSObject class in the Core Motion framework and MonoTouch.CoreMotion Namespace.

CMMotionManager is an NSObject class in the Core Motion framework and MonoTouch.CoreMotion Namespace.

A CMMotionManager instance provides access to motion services and data, including accelerometer and magnetometer data.

Motion services are not available on all devices -- the deviceMotionAvailable boolean property indicates whether or not motion services are available.

Resources

152 questions
-1
votes
1 answer

How to take CMDeviceMotion updates in multiple handlers?

Apple says: You should only create a single instance of CMMotionManager to get accurate data. What if I want to start the device motion updates when the app starts and then take the updatesToQueue at multiple places. Scenario is something like…
nr5
  • 4,228
  • 8
  • 42
  • 82
-2
votes
1 answer

Use leaning of the phone to move your Character

My goal is to move my character whenever the phone is leaned to the side. Kind of like it used to be in "DoodleJump". I have not found anything about it yet. Does anyone have an idea how to do it?
1 2 3
10
11