44

JavaScript 判断 iPhone X Series 机型

 5 years ago
source link: https://juejin.im/post/5c4bd0b7518825254b5a4daf
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
原文链接:JavaScript 判断 iPhone X Series 机型 写在前面 如果有更优雅的方式,一定要告诉我! 现状 iPhone X 底部是需要预留 34px 的安全距离,需要在代码中进行兼容。 现状对于 iPhone X 的判断基本是这样的: /

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK