iOS_传感器的使用
摘要:
一、距离传感器。 大概解释一下距离传感器的功能:它会根据你和iphone间距离不同做出不同的响应。 [objc] view plain copy print? //打开距离传感器 [UIDevice currentDevice].proximityMonitoringEnabled = YES; / 阅读全文
posted @ 2016-12-30 17:09 yucaijiang 阅读(900) 评论(0) 推荐(0) 编辑