ProMotion icon indicating copy to clipboard operation
ProMotion copied to clipboard

use custom class for open_tab_bar

Open augustosamame opened this issue 8 years ago • 1 comments

Hi. I would like to use more powerful Tab Bars by using a pod like RAMAnimatedTabBarController: https://github.com/Ramotion/animated-tab-bar

Their documentation indicates:

Set the class of the UITabBarController to RAMAnimatedTabBarController in your Storyboard or nib. For each UITabBarItem, set the class to RAMAnimatedTabBarItem.

How would I be able to specify a custom class when using open_tab_bar in PM?

augustosamame avatar Sep 08 '16 22:09 augustosamame

@augustosamame There currently isn't a way to do that, but by looking at the source you should be able to approximate it.

https://github.com/infinitered/ProMotion/blob/f872ac89eba823e9e7641a300fe29c6cb2d08204/lib/ProMotion/tabs/tabs.rb#L5-L13

jamonholmgren avatar Sep 11 '16 05:09 jamonholmgren