2016年12月30日

iOS_传感器的使用

摘要: 一、距离传感器。 大概解释一下距离传感器的功能:它会根据你和iphone间距离不同做出不同的响应。 [objc] view plain copy print? //打开距离传感器 [UIDevice currentDevice].proximityMonitoringEnabled = YES; / 阅读全文

posted @ 2016-12-30 17:09 yucaijiang 阅读(900) 评论(0) 推荐(0) 编辑

iOS-传感器及使用

摘要: 下面是去apple官网找的iphone6包含的传感器: iPhone6的感应器.png iPhone6的感应器.png 1、传感器的类型 iPhone内置的传感器有运动传感器\加速度传感器\加速计(Motion/Accelerometer Sensor)环境光传感器(Ambient Light Se 阅读全文

posted @ 2016-12-30 17:06 yucaijiang 阅读(572) 评论(0) 推荐(0) 编辑

导航