I use two containerViews one over another to load inside the same tabBar parent Page. If condition A is true set containerA alpha to 1 and container B alpha to 0 If condition B is true set set containerA alpha to 0 and container B alpha to 1
I am loading a JSON from the server in my viewdidload/viewwillappear of corresponding childViewControllers which is attached to parent UIViewContainer. My issue is that whenever I opens the tab, it loads both's childViewcontroller(containerA and containerB) Viewload method . So it calls both's containers JSON request to server. Is there a good way to separate this JSON calls ?