iosswiftxlpagertabstrip

How to update indicator info for XLPagerTabStrip in iOS?


I want to update my indicator info on some events happening in the child view controllers. How can we achieve this?


Solution

  • if let pagerTabStrip = self.parent as? ButtonBarPagerTabStripViewController {
        pagerTabStrip.buttonBarView.reloadData()
    }
    

    For anybody looking for a solution to this. Please refer here.