how to get compass heading coordinates?

Hi,

is there any way to get the compass heading coordinates?

This interface hasn’t been warpped in cocos2d-x.
You can reference to CCAccelerometer & CCAccelerometerDelegate to implement it, or just simply invoke objc methods in your .mm file