iphone - iOS How to get the content offset of a view inside a scrollview -
iphone - iOS How to get the content offset of a view inside a scrollview -
lets add together 10 views scrollview. give them rect within of scrollview. there way figure out each item's offset in scrollview?
i'm guessing isn't applicable here. need in essence is, "if item @ content offset in scrollview (meaning visible user in area of scrollview), this".
each view's frame expressed in superview coordinate scheme (bounds). is, in case each view content offset cgrectgetminy(view.frame)
.
iphone objective-c
Comments
Post a Comment