Condensing headers atop a scrolling view are seen in many popular apps and here’s a library from Bryan Keller called BKFlexibleHeightBar allowing you to create condensing header bars with a great deal of flexibility.
With BKFlexibleHeightBar you can include subviews within the header with different coloring and layout options, set up custom snapping behaviors, and more. Demo projects are included showing how to set up Facebook, and Square Cash style condensing bars.
These are a couple of images from the readme showing BKFlexibleHeightBar in action:
You can find BLKFlexibleHeightBar on Github here.