Closed Michele404 closed 5 years ago
Hello @Michele404, simply change following index 0
to the starting index you wish in RAMAnimatedTabBarController.swift
because it's being called once before anything selected yet as far as I observed.
if 0 == index { // selected first elemet
item.selectedState()
container.backgroundColor = (items as [RAMAnimatedTabBarItem])[index].bgSelectedColor
}
Ok, and how I should edit it?
You should change 0 to the index value of your starting tab @Michele404
1) If you do it all tab will got a color 2) You can’t pass data into cocoapods , you have to download it manually
When I run this part of code it show me the controller n.2 in the RamAnimatedTabBar but it will show the icon n.0 in the RamAnimatedTabBar with another color instead of the n.2 Help?