Hi
I try to put a backbutton on my navigationbar.
here is my code
public SingleNewsView(News news)
{
this.news = news;
NavigationBar.SetBackgroundImage(UIImage.FromBundle("Drawable/header_background.png").CreateResizableImage(new UIEdgeInsets(52, 5, 5, 5)), UIBarMetrics.Default);
UIBarButtonItem backbutton = new UIBarButtonItem("retour", UIBarButtonItemStyle.Done, null);
this.NavigationItem.BackBarButtonItem = backbutton;
this.NavigationItem.BackBarButtonItem.Enabled = true;
}
I get my backgroundimage, so the first line works.
thank you