Contents

updateTitle(_:subtitle:)

Update the task title and subtitle that the system displays to a person.

Declaration

func updateTitle(_ title: String, subtitle: String)

Parameters

  • title:

    The localized title displayed to a person.

  • subtitle:

    The localized subtitle displayed to a person.

Discussion

The system displays Continuous Background Task requests in a Live Activity for a person to monitor progress and cancel a task, if they wish.

See Also

Titling the task