[英]How can I show my custom css on the iPhone 5 web app?
I am using bootstrap as a framework to create iPhone app. 我使用引导程序作为创建iPhone应用程序的框架。 I am only using the css styles.
我只使用css样式。 However, when I add this to the page:
但是,当我将此添加到页面时:
<meta name="apple-mobile-web-app-capable" content="yes" />
On my iPhone web app that I have saved to the home screen, it does not show my custom css that I changed in the bootstrap.min.css. 在我保存到主屏幕的iPhone Web应用程序上,它不显示在bootstrap.min.css中更改的自定义CSS。
What am I doing wrong? 我究竟做错了什么?
See Apple docs: Safari HTML Reference . 请参阅Apple文档:Safari HTML参考 。 You can determine if full-screen mode is on by using window.navigator.standalone.
您可以使用window.navigator.standalone确定全屏模式是否打开。 If the bool is false, you know where the problem is.
如果布尔值是错误的,则说明问题出在哪里。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.