Display x, y, a values and orientation on iOS screen

On my storyboard I would like the display x, y, z values in a UILabel. How should I go about this? The sample code only has the streaming graphs rather than a single value. Also orientation.


  • There are several examples in the sample app of writing values into UILabel's.  Check out the startOrientationPressed: function in DeviceDetailViewController.m.  You'll see it start listening to event notifications and then assign the result to a UILabel in the callback.
  • Thanks! I'll give that a try and see how I go. Much appreciated.
This discussion has been closed.