阅读背景:

在标签应用中使用加速度计

来源:互联网 

I would like to use the accelerometer in a tab app. All three tabs would access the current x,y,z and change an mage based on that data. My problem is where does the initialization of the accelerometer go so that all three tabs can update based on the data? The update only needs to happen when you are in the current tab.I would like to use the accelerometer in a tab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: