I am working on a Tabbar based application in which, One the second tabItem, I have a UITableview(parent tableview) and I have dynamic UITableview inside ParentTableviewCell. It is working fine. But When i add some data to the tableview from another tab through some api calling and come back to tableview tab. The parentTableView data gets updated but the inner tableview data is not updated. I have tried multiple ways to get the inner tablewview data reload but nothing is working but i also seen that when i navigate to setting on my app which is in side-bar there is an option to goto notifications on iOS, when i tap on it, the iOS App notification setting opens and after that when i comes back to my application second tab the data is updated for Parent as well as inner tableview.
How is this happening?
The data is updated using API and i am calling Api in viewwillAppear of my viewcontroller.
And the data is saving in the struct.
So is this can be a case that the struct is not updating with the data?
How can i fix it?