标签: ios uiscrollview pull-to-refresh
当我向下拖动scrollView时,我希望我的scrollView不向下移动,换句话说,当我拉动刷新scrollVIew内容时,我不希望更改contentOffset,我该怎么做?
答案 0 :(得分:0)
我认为您不想bounce ScrollView ...只需取消选择属性Bounce,如下所示Show the Attributes Inspector
bounce
Bounce
Show the Attributes Inspector
或者你可以这样做Programmatically
Programmatically
ScrollObj.bounces = NO;