<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityLookup",
  "identifier" : "/documentation/IdentityLookup/ILClassificationAction/reportJunkAndBlockSender",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SMS and Call Reporting"
    ],
    "preciseIdentifier" : "c:@E@ILClassificationAction@ILClassificationActionReportJunkAndBlockSender"
  },
  "title" : "ILClassificationAction.reportJunkAndBlockSender"
}
-->

# ILClassificationAction.reportJunkAndBlockSender

The system should report the communication as junk and add the number to the system’s block list.

```
case reportJunkAndBlockSender
```

## Discussion

The extension creates an SMS message based on the response, and displays the message to the user. The user can then send or cancel the report.

Next, the extension displays an alert to notify the user that the number will be blocked. To unblock the number, users must go to the Call Blocking & Identification settings in the Settings app.

Finally, the extension dismisses the [`ILClassificationUIExtensionViewController`](/documentation/IdentityLookupUI/ILClassificationUIExtensionViewController).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)