简体   繁体   中英

Screen resolution of the app using ionic 1 framework

我一直在移动设备的更高版本中遇到问题,例如:android上的三星9.0版和Ios上的Iphone X,屏幕分辨率很高,当尝试像安装时使用ionic框架和cordova构建应用程序上面和下面的设备的那个我可以看到黑色补丁,请建议我如何解决这个问题

Set viewport meta tag in the index.html file as follows:

<meta name="viewport" content="viewport-fit=cover">

Ensure you go through the official Blog by Ionic Team on iOS 11 migrations. https://blog.ionicframework.com/ios-11-checklist/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM