I have a UIScrollView
with ten UIView
s in it and paging enabled. On scrollViewDidEndDecelerating:
I want to decide which of the child UIView
s is being displayed in the scroll view's frame.
I was going to check the top-left and bottom-right of each view to make sure that both points are in the scroll view's frame, but that seems like a less-efficient way.
Is there a better way to accomplish that?