---
title: "navigationItem(_:didEndRenamingWith:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uinavigationitemrenamedelegate-5j4ws/navigationitem(_:didendrenamingwith:)"
---

# navigationItem(_:didEndRenamingWith:)

Tells the delegate when the rename process ends.

## Declaration

```swift
@MainActor @preconcurrency func navigationItem(_: UINavigationItem, didEndRenamingWith title: String)
```

## Parameters

- `_`: The navigation item with the changing title.
- `title`: The new title of the navigation item.

## Discussion

Discussion UIKit calls this method after a person finishes renaming the navigation item. Implement this method to update your data model with the new title as needed. UIKit updates the navigation item’s title automatically. However, if you want to modify the final title that the system passes in to this method, you must update the navigation item’s title manually.

## See Also

### Handling the rename process

- [navigationItem(_:willBeginRenamingWith:selectedRange:)](uikit/uinavigationitemrenamedelegate-5j4ws/navigationitem(_:willbeginrenamingwith:selectedrange:).md)
