func scrollViewDidScroll(scrollView: UIScrollView) { println("offsetY : \(-scrollView.contentInset.top - scrollView.contentOffset.y)"); var offsetY = -scrollView.contentInset.top - scrollView.contentOffset.y; }
赞
踩
func scrollViewDidScroll(scrollView: UIScrollView) { println("offsetY : \(-scrollView.contentInset.top - scrollView.contentOffset.y)"); var offsetY = -scrollView.contentInset.top - scrollView.contentOffset.y; }
转载于:https://www.cnblogs.com/alexmercer/p/4670688.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。