@@ -0,0 +1,684 @@
+'''%0AiOS Spatial Orientation%0A-----------------------%0A%0A'''%0A%0Afrom plyer.facades import SpatialOrientation%0Afrom pyobjus import autoclass%0A%0A%0Aclass iOSSpatialOrientation(SpatialOrientation):%0A%0A    def __init__(self):%0A        self.bridge = autoclass('bridge').alloc().init()%0A        self.bridge.motionManager.setdeviceMotionUpdateInterval_(0.1)%0A%0A    def _enable_listener(self):%0A        self.bridge.startDeviceMotion()%0A%0A    def _disable_listener(self):%0A        self.bridge.stopDeviceMotion()%0A%0A    def _get_orientation(self):%0A        return (%0A            self.bridge.sp_yaw,%0A            self.bridge.sp_pitch,%0A            self.bridge.sp_roll)%0A%0A%0Adef instance():%0A    return iOSSpatialOrientation()%0A

Add iOS api for spatial orientation