Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.13k stars 1.33k forks source link

Selected Tab Bar on load #172

Closed jpsanabria closed 6 years ago

jpsanabria commented 7 years ago

I have 3 tab bar items. i would like the center tab bar item to be active on the initial load. Usually this is accomplished in ViewDidLoad of the TabBarController but I do not want to edit your code. Is their another way to accomplish this?

dipkasyap commented 7 years ago

Same here, any workaround is made ? Please do update on this issue.

SamuraiJack76 commented 7 years ago

Would like to have that, too!

0ber commented 7 years ago

For changing active tab you can use this method https://github.com/Ramotion/animated-tab-bar/blob/master/RAMAnimatedTabBarController/RAMAnimatedTabBarController.swift#L173