0

I am using tabBarController and I want to refresh my views on every tab shift. So if user shifts from tab first to tab fourth and again comes back to first the view must be updated. So do I need to call the viewWillAppear manually as it doesnt call on its own.

Similarly while popping a view from NavigationController I need to call viewWillAppear for the parent view of the view being popped. So again do I need to call it manually.

rkb
  • 10,933
  • 22
  • 76
  • 103

1 Answers1

0

My guess is that you've got navigation controllers to go along with that tabBarController. If that is the case, you should take a look at this SO question. Myself, I side with the first answer.

Community
  • 1
  • 1
mikestew
  • 849
  • 4
  • 9