ViewPager-Swift
ViewPager-Swift copied to clipboard
Dynamic Tab Name change
Is any way to change the name of tabs.
I have to show array count beside the tab name like this. Apple(8), Banana(7) These counts come from API.
Hi @ErAshu ,
Did you try invalidateTabs()
method of ViewPager ?
Update your array of ViewPagerTab
and then call invalidateTabs()
of ViewPagerController
object.
I didn't get this?