I am trying to find out the correct Class that controls the movements of an iOS device ie. moving your phone/ipad to control say a car game. A few questions if you don’t mind:
[quote=163928:@Mike Cotrone]I am trying to find out the correct Class that controls the movements of an iOS device ie. moving your phone/ipad to control say a car game. A few questions if you don’t mind:
Can someone explain why it’s not possible to use CoreMotion with Xojo ?
I’m trying to measure movements (distance and direction) of an iOS device but the Accelerator data is not enough…
Its not possible to use CoreMotion because the compiler currently does not allow us to add frameworks to link against. Since all declares into Cocoa/UIKit/CoreMotion/etc (anything Apple which uses the selector keyword) are soft, they are not linked to at compile time, so we cannot link to the CoreMotion framework to use its classes.