传感器使用
摘要:- (void)viewDidLoad { [super viewDidLoad]; // 默认情况下传感器处于关闭状态 [UIDevice currentDevice].proximityMonitoringEnabled = YES; // 添加到通知中心,状态改...
阅读全文
posted @ 2015-08-10 13:54
posted @ 2015-08-10 13:54