favorite & view page & etc.
This commit is contained in:
@ -151,15 +151,18 @@ namespace Gallery.iOS.Renderers.AppShellSection
|
||||
public void UpdateLayout(UITabBarController controller)
|
||||
{
|
||||
var tabBar = controller.TabBar;
|
||||
if (tabBar != null && tabBar.Items != null && tabBar.Items.Length == 3)
|
||||
if (tabBar != null && tabBar.Items != null && tabBar.Items.Length >= 4)
|
||||
{
|
||||
var tabBarItem = tabBar.Items[0];
|
||||
tabBarItem.Image = UIImage.FromBundle("IconBookmarkRegular");
|
||||
tabBarItem.SelectedImage = UIImage.FromBundle("IconBookmark");
|
||||
tabBarItem = tabBar.Items[1];
|
||||
tabBarItem.Image = UIImage.FromBundle("IconYandereRegular");
|
||||
tabBarItem.SelectedImage = UIImage.FromBundle("IconYandere");
|
||||
tabBarItem = tabBar.Items[1];
|
||||
tabBarItem = tabBar.Items[2];
|
||||
tabBarItem.Image = UIImage.FromBundle("IconSourceRegular");
|
||||
tabBarItem.SelectedImage = UIImage.FromBundle("IconSource");
|
||||
tabBarItem = tabBar.Items[2];
|
||||
tabBarItem = tabBar.Items[3];
|
||||
tabBarItem.Image = UIImage.FromBundle("IconSourceRegular");
|
||||
tabBarItem.SelectedImage = UIImage.FromBundle("IconSource");
|
||||
}
|
||||
|
Reference in New Issue
Block a user