navbackgound.png是一张透明图片
this.NavigationController.NavigationBar.SetBackgroundImage(UIImage.FromFile("Images/navbackgound.png"), UIBarMetrics.Default);
//导航栏底部线 this.NavigationController.NavigationBar.ShadowImage = UIImage.FromFile("Images/navbackgound.png");