在滚动时禁用UITableView垂直弹跳 [英] Disable UITableView vertical bounces when scrolling

查看:106
本文介绍了在滚动时禁用UITableView垂直弹跳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在垂直滚动UITableView时禁用反弹效果?现在如果我滚动到底部附近的任何地方,视图滚动条向上弹起。

How do I disable the bounce effect when vertically scrolling a UITableView? Right now if I scroll anywhere near the bottom, the view scrollbar bounces right up. I would like my UITableView to stay fixed at the scrolled-to position instead of bouncing back up.

推荐答案

您尝试设置了 bounces property to NO?

Have you tried setting the bounces property to NO?

这篇关于在滚动时禁用UITableView垂直弹跳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆