最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - iOS 7 go into full screen mode (add to home screen button) - Stack Overflow

programmeradmin1浏览0评论

Is there a way to go into fullscreen mode for iOS 7? Like when you add it to your homescreen and just your website pops up not the url bar and back bar etc? Does anyone know how to do this? Ive looked at a few posts saying you can't go into fullscreen mode anymore on iOS 7 but then i looked at the OpenAppMkt web app and it seems to be able to hide the url bar on iOS 7

Is there a way to go into fullscreen mode for iOS 7? Like when you add it to your homescreen and just your website pops up not the url bar and back bar etc? Does anyone know how to do this? Ive looked at a few posts saying you can't go into fullscreen mode anymore on iOS 7 but then i looked at the OpenAppMkt web app and it seems to be able to hide the url bar on iOS 7

Share Improve this question asked Oct 31, 2013 at 15:03 Henry BlaikeHenry Blaike 1171 silver badge7 bronze badges 3
  • This should just be a case of using the apple-mobile-web-app-capable meta tag, as with other iOS versions. Have you tried that? – cmbuckley Commented Oct 31, 2013 at 15:08
  • I actually havent, I just assumed it didn't work on ios 7 because of all the answers i read. Give me 5 minutes Ill see if it works – Henry Blaike Commented Oct 31, 2013 at 15:16
  • Wow it works... its even better then iOS 6 because you can press links and it won't redirect you to safari. I feel like an idiot, this is solved then haha. – Henry Blaike Commented Oct 31, 2013 at 15:19
Add a comment  | 

1 Answer 1

Reset to default 18

If you have access to the HTML, add the follow line to the HEAD:

<meta name="apple-mobile-web-app-capable" content="yes">

Then refresh the page in Safari and re-add the page to your home screen. (If content="no" then it will not be displayed full-screen mode.)

Here is a link to Apple's documentation on Safari MetaTags.

发布评论

评论列表(0)

  1. 暂无评论