I have a UIScroll view with content in it. If that content overflows, making the scroll view scrollable, I'd like to set the bottom of the view to be a certain color. If it does not, I'd like to set it to a different color.
My issue is, I do not know how to detect if a UIScrollView's content overflows and thus is scrollable.
Check if the scroll view's contentSize
is bigger than its bounds
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With