@supports(-webkit-touch-callout:none)在iOS 15 Safari中不起作用
我正在尝试使用CSS瞄准iOS设备。一般建议是使用:
@supports (-webkit-touch-callout: none) {
...
}
但是,这似乎不适用于iOS 15 Safari
。这是真的吗?
看起来应该从苹果开发人员docs (上次更新2016年),但是类似的问题是在此报告。
如果此代码与iOS 15
不起作用,那么工作是什么?
I'm trying to target iOS devices with CSS. The general advice is to use:
@supports (-webkit-touch-callout: none) {
...
}
However, this does not seem to work with iOS 15 Safari
. Is this true?
It looks like it is supposed to work from the Apple developer docs (last updated 2016), but a similar problem is reported here.
If this code does not work with iOS 15
, what is the work-around?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以确认
@supports(-webkit-touch-callout:none)
仍然可以在Safari iOS上正常工作15.4.1。I can confirm
@supports (-webkit-touch-callout: none)
still working fine on Safari iOS 15.4.1