0

My goal is to listen only and not modify the outgoing call event and send GPS coordinates to server from background. I'm not even interested in phone number being dialed, what I only need to know is whether the current call is Emergency call.

I've accomplished this easily in android, by following this tutorial.

However some googling showed that, this is a big pain in the ios world.

The only solution I think is to write dialer app from scratch and manage all the events by myself (if that's even possible), but I think it's too overcomplicated

I'm completely new to ios and please let me know, how would you solve this problem guys?

Community
  • 1
  • 1
tsobe
  • 179
  • 4
  • 14

1 Answers1

0

There is no way this will be possible on iOS unless you were planning to release and app for jailbroken phones (and even then I'm not sure it is). The Core Telphony framework has the methods you can use: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CoreTelephonyFrameworkReference/index.html

Gary Riches
  • 2,847
  • 1
  • 22
  • 19