In Youtube Home, when its scroll is down, youtube logo area is disappearing. When it is dragged up, the first behavior is Youtube logo area is coming down and only then the scrollview can be scrolled. How can I make it?
I tried to do by using uiView at the top and uitableView at the bottom. This is my code and it works well when I scroll one direction, But when I scroll up and down in one touch, the upper view is getting bigger than it is supposed to be.

You can achieve similar result with
UINavigationController'shidesBarsOnSwipe:https://developer.apple.com/documentation/uikit/uinavigationcontroller/1621883-hidesbarsonswipe