hi,
i want to hide the navigation back bar button its not working i mentioned my code below :
this.NavigationItem.HidesBackButton = true;
this.NavigationItem.SetRightBarButtonItem(
new UIBarButtonItem(UIBarButtonSystemItem.Save, (sender,args) =>
{
Console.WriteLine("clicking save");
// button was clicked
} )
, true);
this.NavigationItem.SetLeftBarButtonItem(new UIBarButtonItem(UIBarButtonSystemItem.Cancel,(sender,EventArgs)=>
{
Console.WriteLine("button was clicked");
this.NavigationController.PopViewControllerAnimated(true);
} )
,true);
this code is not working back button is not hiding.pl anybody suggest me how to do this.