My program have two tabs,
- I set init variable in viewDidLoad. ( int A = 0; )
- I change A = 2 when press button.
- I switch to tab2 and switch back to tab1, A is still 2.
How to call viewDidLoad in tab1 again ? ( I want to init variable again when switch back to tab1 .)