func scrollViewDidScroll(scrollView: UIScrollView) { println("offsetY : \(-scrollView.contentInset.top - scrollView.contentOffset.y)"); var offsetY = -scrollView.contentInset.top - scrollView.contentOffset.y; }
时间: 2024-09-29 09:07:31
func scrollViewDidScroll(scrollView: UIScrollView) { println("offsetY : \(-scrollView.contentInset.top - scrollView.contentOffset.y)"); var offsetY = -scrollView.contentInset.top - scrollView.contentOffset.y; }