navigationItem:shouldEndRenamingWithTitle:
Asks the delegate whether to continue or abandon the rename process.
Declaration
- (BOOL) navigationItem:(UINavigationItem *) navigationItem shouldEndRenamingWithTitle:(NSString *) title;Parameters
- navigationItem:
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.