Make static UIView sticky when UIScrollView is scrolling
问题 I've got a scroll view (diagram: words) that is much longer than the device height At the bottom of the scroll view is some bottom content (diagram: french press) with a different background colour. To separate the bottom content from the words, I've created a 1pt high UIView to act as a border (diagram: red line) I have a button that sits on the bottom of the device, outside the scroll view (the scroll view is device.height - button.height ). This button's background colour matches the