开发者

Stop scrolling over edge of screen on iOS web apps?

Working on an iOS web app. The user can scroll the content of the page up a开发者_如何学Cnd down. However, is there a way to stop the screen from being dragged so far that the grey background becomes visible? This is replicable by opening any webpage in mobile safari and pulling the page down.


You can use a javascript library like pastrykit, or iScroll, to handle the scrolling instead of the default, similarly to how the mobile gmail webpage works, or the iPhone User Guide.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜