Reputation: 574
How to block or cancel income calls programmatically or How to activate "do not disturb" mode in iOS programmatically.
Upvotes: 3
Views: 4812
Reputation: 585
It's clearly forbidden for a third-part app to block incoming calls. As it's described here: Can an iPhone app block phone calls?
However you can use CallKit to block unwanted calls. Your app should be able to add blocked numbers.
The reason Apple doesn't allow you to block it is because there would be a lot of abuse and Malware that would disturb user experience.
Upvotes: 6