开发者

Proximity Monitoring on the iPhone without blacking out the screen?

I'm able to detect proximity on the iPhone SDK, but the screen blacks out whenever the proximity state is triggered.

is there a way I can prevent the proxim开发者_JAVA技巧ity sensor from blacking out the screen, but still monitor a proximity sensor's state?

Thanks!


You could normally override the -(void)proximityStateChanged:(BOOL) changed method and do your thing in there, still getting the changed BOOL state.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜