antiguab / BATabBarController

A TabBarController with a unique animation for selection
https://antiguab.github.io/batabbarcontroller/
MIT License
1.06k stars 131 forks source link

Table View didnt reload when i switch from one tabbar to another tab bar #58

Closed Zeeshan90 closed 4 years ago

Zeeshan90 commented 4 years ago

I have 3 bar items when i switch from on view to second the table view didn't reload. how can we hit the api when the view controller presents?

antiguab commented 4 years ago

you don't want to do that on the tabview controller. That'll be unnecessary. It'd be best to do it in viewWillAppear(_:) for the table view in question