I have an iOS app where two of my Tabs are following a same View with just a bit of change in the logic.Rather than that everything else is the same. But now the problem is occurring when i Rotate the app it misbehaves sometime. So i wanted to know If I should Use two different ViewControllers or two different ViewSources? because currently we have a common ViewSource and a master ViewController
Misbehaves means when i switch tab to other than these two and rotate then the master view selected rows changes after i visit the above mentioned tab
Say I visited Tab A and selected a row X and then I visited Tab B and selected row Y and then i visited Tab C and rotated the View So now when i visit Tab B again the selected row Y remains as it is while when I visit Tab A, indexpath of the row Y of the Tab B is selected in Tab A(and if the indexpath is not available then the app gets crashed)
If anyone could help Please. Thanks!