ioscosmicmind

How to make the divider animate when switching tabs iOS material by cosmic mind


How do I animate the divider so that the divider on top of the TabBar slides left or right depending on the tab I'm currently on? I have looked at the sample application but it doesn't have a sliding Divider.


Solution

  • Make sure you are using the TabsController. You can find a sample here: TabsController Sample. enter image description here