Is there any way to read phone number of incoming or outgoing call and SMS in iOS?

In one of my applications, I would like to know the phone number of incoming or outgoing call and SMS. In Android, we can listen to SMS and Calls events but on the iPhone, there is no API to perform such a task.


I have gone through different docs and blogs, everyone is saying it's not possible to get phone numbers of incoming/outgoing call/SMS.


Is there any way to achieve this?

Replies

I have gone through different docs and blogs, everyone is saying it's not possible to get phone numbers of incoming/outgoing call/SMS.

That’s correct. While there are options available to you if you’re working on behalf of a carrier, or you’re in an enterprise environment, for a standard App Store app there’s no way to get this information.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

ps DTS is closed 21 Dec through 1 Jan.

Thank you for the update.