会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ygm900
首页
联系
订阅
管理
floor 函数 功能:返回小于或者等于指定表达式的最大整数
如下,当偏移量达到50%时,就翻页
page =
floor
((
scrollView0
.
contentOffset
.
x
- pageWidth /
2
) / pageWidth) +
1
;
posted @
2013-05-26 02:53
ygm900
阅读(
251
) 评论(
0
)
编辑
收藏
举报
刷新页面
返回顶部