我只是想知道 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/