摘要:
[[UIDevice currentDevice] setProximityMonitoringEnabled:YES];[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sensorStateChange:) name:@"UIDeviceProximityStateDidChangeNotification" object:nil];-(void)sensorStateChange:(NSNotificationCenter *)notification;{if ([[UI 阅读全文
posted @ 2012-01-04 13:27
痴人指路
阅读(242)
评论(0)
推荐(0)

浙公网安备 33010602011771号