Contents

navigationItemShouldBeginRenaming:

Asks the delegate whether the navigation item supports renaming.

Declaration

- (BOOL) navigationItemShouldBeginRenaming:(UINavigationItem *) navigationItem;

Parameters

  • navigationItem:

    The navigation item asking whether to support renaming.

Return Value

true to support renaming and show Rename in the title menu; otherwise, false.

Discussion

UIKit calls this method when the navigation bar’s title menu becomes visible to validate whether to show Rename as part of that menu. Implement this method to determine whether to display the Rename menu element and support the rename process.

See Also

Determining rename support