Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes you can detect a Call. but only if your app is running in the foreground. For this you can use the <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CoreTelephonyFrameworkReference/_index.html">Core Telephony Framework</a>.</p> <p>If your app will fall in any of the background running categories (VOIP, AUDIO, Location tracking or accessory ) you might be able to use the <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCallCenter/Reference/Reference.html#//apple_ref/doc/uid/TP40009604"><code>CTCallCenter</code></a> in the background. But be aware that Apple will reject you app if you miss use the background running mode for something it was not meant for.</p> <p>The <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCallCenter/Reference/Reference.html#//apple_ref/doc/uid/TP40009604"><code>CTCallCenter</code></a> will allow you to detect any calls that are started or already in progress.</p> <p>However you will not be able to detect any detail about the call, the <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCall/Reference/Reference.html#//apple_ref/doc/c_ref/CTCall"><code>CTCall</code></a> identifying the call will only tell you this state. The <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCall/Reference/Reference.html#//apple_ref/doc/uid/TP40009590-CH1-DontLinkElementID_2"><code>callID</code></a> of <a href="http://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCall/Reference/Reference.html#//apple_ref/doc/c_ref/CTCall"><code>CTCall</code></a> will just give you an unique identifier for the call but not the number being called.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload