iOS 亚麻背景CSS?
是否可以通过 CSS/Javascript 自定义在移动 safari 中滚动经过页面末尾/顶部时显示的亚麻背景?
我知道这可以通过 Obj C 完成,但我不是在开发应用程序,而是在本机移动 safari 中为网络开发一个网站。
是否可以?如果是这样怎么办?
Is it possible to customize the linen background shown when you scroll past the end/top of the page in mobile safari via CSS/Javascript?
I know it can be done via Obj C, but Im not developing an application, Im developing a website in native mobile safari for the web.
Is it possible? If so how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无法自定义此背景。
我能想到的唯一解决方法是通过
preventDefault()
禁用滚动 - 在window
上处理各种触摸事件并实现您自己的滚动。There is no way to customize this background.
The only workaround I can think of is to disable scrolling by
preventDefault()
-ing the various touch events onwindow
and implement your own scrolling.