I wanted to change the Text that is on the BACK button in IOS
WhatI'vetried:
publicoverridevoidViewDidLoad(){NavigationItem.BackBarButtonItem=newUIBarButtonItem{Title="Teste" };
base.ViewDidLoad();
//nao funciona NavigationItem.BackBarButtonItem = new UIBarButtonItem { Title = "Teste" };
//nao funciona NavigationController.NavigationBar.BackItem.BackBarButtonItem.Title = "teste";
}
public override void ViewDidAppear(bool animated)
{
NavigationItem.BackBarButtonItem = new UIBarButtonItem { Title = "Teste" };
base.ViewDidLoad();
//nao funciona NavigationItem.BackBarButtonItem = new UIBarButtonItem { Title = "Teste" };
//nao funciona NavigationController.NavigationBar.BackItem.BackBarButtonItem.Title = "teste";
}
Neither of these ways worked.