A demo application to show how to use multiple Storyboard files with a RAMAnimatedTabBarController
. I saw the problem outlined here, and used container view controllers and Storyboard references to get this working.
Follow the steps outlined below.
(1) Create the desired view controller in its own Storyboard:
(2) Create an empty view controller in the Storyboard that contains the main tab bar:
(3) Add that view controller to the viewControllers
property of the tab bar controller:
(4) Add a Container View to that empty view controller, delete view controller that it automatically embeds, and constrain it to the edges of its superview:
(5) Follow steps 3-5 outlined here for all tab bar items on the tab bar.
(6) Embed the view controller from the other Storyboard via a Storyboard Reference in that container view:
(7) Build and run:
Thanks to @jeffaburt for helping look into this!