I have a ScrollView with 3 collection views within it. I implemented a refresh control. The refresh control correctly functions in the sense that it triggers the required function - and even pulls down the scroll view with a delay.
However, setting any of the refreshControls properties (such as text/background colour) have 0 effect when I add the refresh control to my scrollView like so:
scrollView.refreshControl = refreshControl
When I use the old method:
scrollView.insertSubview(refreshControl, at: 0)
I am able to see the text/spinner, but it's buggy.
Is there a reason that the refreshControl's properties might be hidden from view when not using insertSubview?