문제

Apple documents the proximity sensor here, so I would imagine it's a public api. I have heard otherwise and wanted to double check before submitting to the store.

도움이 되었습니까?

해결책

It used to be the case that the proximity sensor was a private API, but after quite a bit of outcry, Apple made it a public API.

With the UIDevice API, you're able to query the proximity sensor for your needs, as documented in the link you've provided.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top