【发布时间】:2016-06-25 15:54:26
【问题描述】:
有类似的问题Stop UITableView over scroll at top & bottom?,但我需要稍微不同的功能。我想要我的表格,以便它可以在底部过度滚动,但不能在顶部过度滚动。 据我了解,
tableView.bounces = false
允许在顶部和底部禁用过度滚动,但是,我只需要在顶部禁用它。喜欢
tableView.bouncesAtTheTop = false
tableView.bouncesAtTheBottom = true
【问题讨论】:
标签: ios objective-c swift uitableview