---
title: "updateTitle(_:subtitle:)"
framework: backgroundtasks
role: symbol
role_heading: Instance Method
path: "backgroundtasks/bgcontinuedprocessingtask/updatetitle(_:subtitle:)"
---

# updateTitle(_:subtitle:)

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

## Declaration

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

## Parameters

- `title`: The localized title displayed to a person.
- `subtitle`: The localized subtitle displayed to a person.

## Discussion

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

- [title](backgroundtasks/bgcontinuedprocessingtask/title.md)
- [subtitle](backgroundtasks/bgcontinuedprocessingtask/subtitle.md)
