subinspathilettu / SJSegmentedViewController

MIT License
334 stars 126 forks source link

Hide Segments view when scrolling up #142

Closed 1AhmedYasser closed 4 years ago

1AhmedYasser commented 4 years ago

When I scroll by default the header is hidden due to its offset value , I also want to hide the segments when scrolling up , how can I do that , as there is no offset value for segments.

1AhmedYasser commented 4 years ago

There is a work around by changing the header offset value to be (header offset - segments height)