【问题标题】:iOS:how can I get the pitch/roll/yaw information of my iPad air?iOS:如何获取 iPad air 的俯仰/滚动/偏航信息?
【发布时间】:2015-04-16 09:04:24
【问题描述】:

我是 ios 的初学者。 我需要知道我的应用的俯仰滚动偏航信息。

如何获取 iPad air 的俯仰/滚动/偏航信息? 我应该使用哪个传感器? 有demo吗?

【问题讨论】:

标签: ios sensors android-sensors uiinterfaceorientation device-orientation


【解决方案1】:

你需要看看Core Motion API.

有用的Motion event 处理。

这里很好tutorial.

【讨论】:

    猜你喜欢
    • 2023-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多