Class

ILClassificationUIExtensionViewController

The superclass for an Unwanted Communication Reporting extension’s principal view controller.

Declaration

class ILClassificationUIExtensionViewController : UIViewController

Overview

Subclass this view controller to create a user interface that gathers additional information from the user about the reported communication.

Topics

Collecting Data from the User

func prepare(for: ILClassificationRequest)

Notifies the view controller just before the system presents it to the user.

func classificationResponse(for: ILClassificationRequest) -> ILClassificationResponse

Notifies the view controller when the user finishes entering data and presses the Done button.

Managing the Request

class ILClassificationUIExtensionContext

An object that manages the state of the current request.