i have navigationbar with large title and there is a custom button next to this navigationbar and tableview next to this custombutton. but when i try to pull down navigation bar it overlaps on custombutton.i need custombutton should move along with navigationbar when i pull down. can anyone assist on this?
i need custombutton should move along with navigationbar when i pull down. can anyone assist on this?
If you want
toolBarcontents all the way down when scrolling, you have to customize it. By default, it always sticks on top of navigationBar, just view's contents go with the scroll behavior. This way, these icons visually hide under navigationBar within ZStack.Updated: Using customized PreferenceKey and Geometry reader to read current scrollView offset for toggling mode.
(Reference: Asperi answer)