programmer-on-the-street
When the bomb drops, the real fun begins, so let's get to work.
Wednesday, October 28, 2009
iPhone dev Stupidity 92: get content view of UIScrollView
Either by index into subviews:
UIView * content = [[scrollView subviews] objectAtIndex:0];
or by tagging:
UIView * content = [scrollView viewWithTag: CONTENT_VIEW_TAG];
it seems that tag 0 is the scrollview itself.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment