[英]How can I preview a web app design on an iPhone and make it look like a native application?
I'm hardcoding a web application using HTML, SCSS, JS, and Rails to preview the design for an application I'm working on. 我正在使用HTML,SCSS,JS和Rails对Web应用程序进行硬编码,以预览我正在处理的应用程序的设计。 I'm want to preview the design on my iPhone but I want to make it look like a native app.
我想在我的iPhone上预览设计,但我想让它看起来像一个原生应用程序。 In other words "no Safari navbar or footer".
换句话说“没有Safari导航栏或页脚”。
I'm running localhost on my MacBook then I used the IP address to preview it on my iPhone using Safari. 我在MacBook上运行localhost然后我使用IP地址在我的iPhone上使用Safari进行预览。
If this helps, the top-level container is set to 100% height and there is no scrolling on the homepage. 如果这有帮助,顶级容器设置为100%高度,并且主页上没有滚动。
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.