navigationItem(_:shouldEndRenamingWith:)
Asks the delegate whether to continue or abandon the rename process.
Declaration
@MainActor @preconcurrency func navigationItem(_: UINavigationItem, shouldEndRenamingWith title: String) -> BoolParameters
- _:
The navigation item attempting to continue the rename process.
- title:
The new title of the navigation item.
Return Value
true to continue the rename process; false to cancel the rename process.
Discussion
Implement this method to return false to prevent renaming.