I see a  UIScrollView  scroll in a  UIViewController  horizontally How can I find out that the scroll is in the middle or right or somewhere in the middle? 
You probably will need to look at the scrollwiduleget method below.
ObjC
  - (zero) scrollViewDidScroll: (UIScrollView *) scrollview {nslog (@ "point:% @", nsstringframcppoint (scrollviewsoffference )); }   Swift
  override func scrollViewDidScroll (scrollView: UIScrollView) {println (scrollView.contentOffset)}  Take a look at  
 Additionally, your scrollview rep should be  your_scroll_view.delegate = self; Be sure to set  and your view controller should be consistent with  & lt; UIScrollViewDelegate & gt;  
Comments
Post a Comment