Hi I am using ButtonBarPagerTabStripViewController for pager, on segment controller index change
i want hide one child view controller of ButtonBarPagerTabStripViewController.
I used
override public func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] { }
this delegate method to add view controller in ButtonBarPagerTabStripViewController.
How can hide any child view controller of ButtonBarPagerTabStripViewController.
To add your
UIViewControllerto yourpagerTabStripControlleryou should have something like :To hide a specific
UIViewControllerjust remove it from theUIViewControllerarray, and call the delegate method again withreloadPagerTabStripView()to reload the tabs