iOS 12 includes a notable update for handling spam messages and calls. Developers can now create an app extension that allows users to report unwanted messages and calls as spam.
Apple’s documentation explains that this feature will allow developers to build app extensions that add an “Unwanted Communication” feature that would need to be enabled in the Settings application. They can only enable one Unwanted Communication extension at a time.
In order to report calls, the user swipes left on an item in the Recents list and selects Report. For SMS messages, they press the Report Messages button when it appears in the Messages transcript. Users can also select messages by long-pressing a message and selecting additional messages, then selecting Report Messages.
After the user reports the text or call, the application must then launch its extension to gather additional details from the user: