When I print tableView.bounds in
ViewDidLoad and ViewWillAppear, it is (0.0, 0.0, 375.0, 667.0)
but in ViewDidAppear and scrollViewDidScroll methods, it is (0.0, -64.0, 375.0, 667.0)
Why the "Y" value in negative. and it keep on reducing negative value when I scroll down. As per my assumptions, it should increase in positive axis when scrolled down and when scroll up, the view goes origin goes up, so it should reduce in negative axis while scrolling up. That means, it is happening in opposite direction to my assumptions. Why is it like that?
Could someone explain this ?