简体   繁体   中英

How to cancel or block incoming calls programmatically in iOS? Is it possible?

如何以编程方式阻止或取消收入呼叫或如何以编程方式激活iOS中的“请勿打扰”模式。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM