Reputation: 532
As the topic suggests, is there any way to hang up / disconnect / end a phone call in progress programmatically from my application? If not, how does it work with Bluetooth devices? Most Bluetooth devices you press once to answer the incoming call and then you can press again to end the call. How does this work?
Thank you.
Upvotes: 2
Views: 1528
Reputation: 59
This is not possible in any version of iOS. All of this functionality it is part of the private telephony framework of apple. The only possible way to do this it's using jailbreak so you can hook in the call and end the call.
Upvotes: 0
Reputation: 11123
Bluetooth headsets are supported/implemented by the OS for the specific function they are designed to fulfill (answering / hanging up calls, etc). They are not apps and do not utilize the SDK as apps do. As @Gagan_iOS indicates in his comment, the SDK does not provide any functionality for an app to interfere with an ongoing phone call in any capacity.
Upvotes: 2