2011-05-19 64 views

回答

5
CGRect visibleRect; 
visibleRect.origin = scrollView.contentOffset; 
visibleRect.size = scrollView.bounds.size; 

BOOL imageViewIsVisible = CGRectIntersectsRect(visibleRect, imageView.frame); 

可以在UIScrollViewDelegate的scrollViewDidScroll:方法

相關問題