예제 #1
0
		public static void Apply (UINavigationBar.UINavigationBarAppearance appearance, string options = null)
		{
			if (IsModern)
				return;

			appearance.TintColor = BarTintColor;

			appearance.SetTitleVerticalPositionAdjustment (-1, UIBarMetrics.Default);
			appearance.SetTitleVerticalPositionAdjustment (-4, UIBarMetrics.LandscapePhone);

			appearance.SetTitleTextAttributes (new UITextAttributes {
				TextColor = BarTextColor,
				TextShadowColor = BarTextShadowColor,
				TextShadowOffset = BarTextShadowOffset,
				Font = UIFont.FromName (TitleFontName, BarTitleFontSize),
			});
		}