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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -