IOS launches web App with interface icon + Full Screen app + Add to home screen

Source: Internet
Author: User

Display a custom icon when iphone"is added to the home screen

Test Resources Download: Https://github.com/dragon8github/mobile-boilerplate/tree/master/img/touch

<!DOCTYPE HTML><HTML>  <Head>  <MetaCharSet= "Utf-8">  <Metaname= "Viewport"content= "Width=device-width, initial-scale=1.0">        <!--ipad and ipad mini (with @2xdisplay) ios≥8 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "180x180"href= "Img/touch/apple-touch-icon-180x180-precomposed.png">        <!--IPad (with @2xdisplay) ios≥7 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "152x152"href= "Img/touch/apple-touch-icon-152x152-precomposed.png">        <!--IPad (with @2xdisplay) ios≤6 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "144x144"href= "Img/touch/apple-touch-icon-144x144-precomposed.png">        <!--IPhone (with @2xand @3 display) ios≥7 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "120x120"href= "Img/touch/apple-touch-icon-120x120-precomposed.png">        <!--IPhone (with @2xdisplay) ios≤6 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "114x114"href= "Img/touch/apple-touch-icon-114x114-precomposed.png">        <!--ipad Mini and the First-and second-generation ipad (@1xdisplay) on Ios≥7 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "76x76"href= "Img/touch/apple-touch-icon-76x76-precomposed.png">        <!--ipad Mini and the First-and second-generation ipad (@1xdisplay) on Ios≤6 -        <Linkrel= "apple-touch-icon-precomposed"Sizes= "72x72"href= "Img/touch/apple-touch-icon-72x72-precomposed.png">        <!--Android Stock Browser and Non-retina iPhone and IPod Touch -        <Linkrel= "apple-touch-icon-precomposed"href= "Img/touch/apple-touch-icon-57x57-precomposed.png">        <!--Fallback for everything else -        <Linkrel= "shortcut icon"href= "Img/touch/apple-touch-icon.png">                <!--IOS Home Screen app full screen -        <Metaname= "Apple-mobile-web-app-capable"content= "Yes">        <!--Android Home Screen app fullscreen -        <Metaname= "Mobile-web-app-capable"content= "Yes">

      <!--the time of the iOS, the battery, the provider, etc.-
<meta name= "Apple-mobile-web-app-status-bar-style" content= "Black"/>


</ Head > < Body > </ Body > </ HTML >

Effect Demo ("Add to Home Screen" is supported by Safari browser, not supported by the UC browser of the pit Daddy):

The custom ICO icon is displayed on the desktop

Due to the addition of <meta name= "apple-mobile-web-app-capable" content= "yes" >

So the desktop launched by the site is full screen (hide the browser's address bar and toolbars, loading status bar, etc.)

IOS launches web App with interface icon + Full Screen app + Add to home screen

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.