简体   繁体   English

使UIScrollview分页变慢

[英]Make UIScrollview Paging slower

In the iOS 6 store, the paging effect of the screen shot is not like the normal behaviour of paging. 在iOS 6存储中,截屏的分页效果与正常的分页行为不同。 How would I slow down the paging effect to simulate something similar? 如何减慢分页效果以模拟类似内容?

I already tried using: 我已经尝试使用:

decelerationRate = UIScrollViewDecelerationRateFast

but that is not working out. 但这还没有解决。

Type of this property is float, so give it some float value. 此属性的类型为float,因此请为其提供一些float值。 0.3, 0.5 or something 0.3、0.5左右

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM