0

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.

vqdave
  • 2,361
  • 1
  • 18
  • 36
  • 1
    rule of thumb is that, if the document is publicly available, is not a private API. API's like springboard and others are completely private, and you will only find documentations from third party available for it. – J2theC Feb 06 '13 at 21:33

1 Answers1

1

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.

WDUK
  • 18,870
  • 3
  • 64
  • 72