iphone - iPhone 允许光传感器作为输入吗?

标签 iphone sensors light

我只是想知道 iPhone 的开发是否允许使用光传感器,作为按钮或 Action 元素?

我在网上找到了这个链接...

可以使用光传感器作为按钮吗? [存档] - Touch Arcade

如果有人能阐明这个问题,我将不胜感激?

最佳答案

Apple 代表的官方答复位于 Apple Dev Forums (需要登录):

There's no supported way to get at the ambient light sensor. If you'd like to see such support added in the future, I encourage you to file a bug describing your requirements. While we may have seen similar requests many times before, a fresh bug report will allow you to express your needs in your own terms, and allow iOS engineering to gauge the level of demand. http://developer.apple.com/bugreporter

关于iphone - iPhone 允许光传感器作为输入吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1301435/

相关文章:

ios - 渐进式 LED 照明

lines - 如何去除 BABYLON Lines 上的光效

iphone - 如何在 iPhone 应用程序中使用 FLAC?

iphone - 从 UIWebView 中清除凭据

ios - 如何使用 Swift 更改 iOS 8 自定义键盘高度?

android指南针似乎不可靠

iphone - 微笑的瀑布

ios - 如何灵活地将 UIbuttons 定位在表格中?

android - 及时获取加速度计值

iphone - OpenGL ES 闪光的强光