I am making a custom header view on my tableview... The custom view has a gradient on it. I only want that gradient to show if it is the only header visible. So if a user is scrolling and happens to see two sections of the tableview, the second section on the tableview should not have a gradient.
What is the best approach to do this?
What is the best approach to do this?