【发布时间】:2018-02-14 16:31:43
【问题描述】:
我需要通过JS检测IOS设备的设备, 对于 iphone-6,我通过比率和 devicePixelRatio 检查它, 我没有找到任何信息来检查设备是否是 iPhone 7 plus。
我找到了旧设备的信息,
What are the device-width css viewport sizes of the iPhone6 and iPhone 6 Plus
或者这个
【问题讨论】:
-
你需要这些信息做什么?
-
如何在js中判断是iphone 6还是iphone 7?
标签: css iphone device-width