//禁止向上滑动
override func scrollViewDidScroll(scrollView: UIScrollView)
{
if scrollView.contentOffset.y <= 0 {
var offset = scrollView.contentOffset
offset.y = 0
scrollView.contentOffset = offset
}
}
网友评论