title: iOS 8 - Private API - Automatically Answer incoming call
body: <p>For our enterprise app, we were using <code>CTCallAnswer(call);</code> private API from the CoreTelephony Framework as follows:</p>
  
  <pre><code>if ([str1 isEqualToString:@"kCTCallIdentificationChangeNotification"]){
      NSDictionary *info = (__bridge NSDictionary *)userInfo;
      CTCall2 *call = (__bridge CTCall *)[info objectForKey:@"kCTCall"];
      NSString *caller = CTCallCopyAddress(NULL, call);
  
      NSLog(@"Caller %@",caller);
  
      // answer this call
     CTCallAnswer(call);
  }
  </code></pre>
  
  <p>But it stopped working once we upgraded to iOS 8.</p>
  
  <p>Is there a way to make it work for iOS 8?</p>