In my View controller i have 1 tableview with different Data.
Top Blue colour is View & bottom Blue colour is TabBar.
in Home Screen there's top View & in Trending screen i Hide it by changing it's constraint to 0.
- Home and 2. Trending
When i scroll tableview to see new posts & when i click on Trending View i load new data in TableView & scroll tableview to top with the code.
dispatch_async(dispatch_get_main_queue(), ^{
[self.tblVW setContentOffset:CGPointZero animated:NO];
[self.tblVW reloadData];
});
but it will not move to top of tableview.
There's a space at top & when i touch tableview it will scroll to top.