1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 06:03:40 +00:00

styling updates to ios

This commit is contained in:
Kyle Spearrin
2016-06-14 00:19:18 -04:00
parent f8f004a798
commit 4ba721b314
11 changed files with 20 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
using System;
using Bit.App.Controls;
using Bit.iOS.Controls;
using Foundation;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
@@ -19,6 +20,10 @@ namespace Bit.iOS.Controls
TabBar.TintColor = page.TintColor.ToUIColor();
TabBar.BarTintColor = page.BarTintColor.ToUIColor();
TabBar.BackgroundColor = page.BackgroundColor.ToUIColor();
// remove top border
// ref: http://stackoverflow.com/questions/14371343/ios-uitabbar-remove-top-shadow-gradient-line
TabBar.SetValueForKeyPath(FromObject(true), new NSString("_hidesShadow"));
}
public override void ViewWillAppear(bool animated)