ios - CoreMotion 在 iOS 10 上延迟传送数据

标签 ios iphone augmented-reality core-motion

我最近做了一个AR应用。它使用 CoreMotion attitude.rotationMatrix 和重力来确定相机方向。运动更新位于单独的 OperationQueue 中,其 qualityOfService = .userInteractive。在 mainQueue 上调用 UI 更新。

这是在 iOS 9.3.5 上运行的应用程序: https://youtu.be/ecvXa3jXBrY

这里就像应用程序在 iOS 10.0.1 上运行一样,代码完全相同: https://youtu.be/bEKpBWSGawQ

我已经在 iPhone 5S 和 iPad 4 上对其进行了测试。该应用程序在 iOS 10 上正常运行的概率为二十分之一。

您知道如何防止 CoreMotion 的数据传输延迟吗?

最佳答案

不是真正的答案,但我们也遇到过这种情况,并向 Apple 提交了一份(经过验证的)错误报告: https://forums.developer.apple.com/thread/52145

关于ios - CoreMotion 在 iOS 10 上延迟传送数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39506215/

相关文章:

iPhone Safari :last-child not rendering in table

iphone - 无法连接到生产 Apple 推送通知服务器

swift - 使用 apple arkit 检测空白或颜色均匀的墙壁

ios - 在 iOS 中显示和隐藏状态栏+更改 View Controller 之间的状态栏文本颜色

ios - 估计失败

ios - 自定义 UIAlertView 上的按钮

iPhone - GCD 检查队列是否暂停

java - ARCore 中的粒子系统

swift - 如何使用 ARKit 从远程服务器加载 usdz 模型和纹理?

ios - 如何在禁用用户交互的 UITableViewController 顶部添加模态视图