facebook

How to disable iOS auto-styling of startup icon?

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #319036 Reply

    SonamGyato
    Member

    i’d like to have a startup icon without the
    gloss created by iOS.

    <link rel=”apple-touch-icon” href=”images/icon.png”/>

    this needs to be changed to something else.

    i could edit the file manually – but wouldn’t that effect
    the hash value embedded in the manifest file.

    suggestion.
    ————-

    provide a default blank template for the header section
    and allow users to edit it.

    eg.

    <head>
    <title>@TITLE@</title>
    <link rel=”apple-touch-icon” href=”@ICON_IMG@”/>

    </head>

    newbie users can use the default.

    more advanced users can edit the file – and then the UI
    generates the .html along with the correct hash value.

    <head>
    <title>@TITLE@</title>
    <link rel=”apple-touch-icon-precomposed” href=”@ICON_IMG@”/>

    </head>

    #319039 Reply

    support-michael
    Keymaster

    @everest

    To disable the iOS default styling application icons on the homescreen replace
    <link rel=”apple-touch-icon” href=”images/icon.png”/>
    with
    <link rel=”apple-touch-icon-precomposed” href=”images/icon.png”/>

    Regarding coding templates this is something we are very interested in introducing.

    #319041 Reply

    SonamGyato
    Member

    do you mean to edit the .html after it’s generated by the mobi tool.

    that’s a manual process.

    and also – doesn’t that effect the hash code in the manifest file.

    #319042 Reply

    support-michael
    Keymaster

    @everest

    Option-1: Explict startup image
    1) Manually modify the html to use the rel=”apple-touch-icon-precomposed” attribute
    2) Touch the manifest by adding or removing 1 whitespace character. This will modify the byte size to the manifest file which is a signal to the mobile safari cache to refresh any changed files.

    Option-2: Implicit startup image (favico)
    1) In your main design file, remove the startup image property
    2) rename the startup image file to apple-touch-icon-precomposed.png and copy to the root dir of your web server
    See Configuring Mobile Safari Web Applications for more details
    I tested this sometime ago and it took me a few tries to get it right. Also I don’t think Test Center support fav icon approach.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to disable iOS auto-styling of startup icon?

You must be logged in to post in the forum log in