

Shortly after, in 2000, the World Wide Web Consortium (W3C) adopted the favicon for the HTML 4.0 (with intentionally vague specifications). Follow these simple steps to specify an icon to represent your web application or webpage on iOS. To specify an icon for the entire website (every page on the website), place an icon file in PNG format in the root document folder called apple-touch-icon.png. If a website had a favicon.ico file placed in the root directory of its domain, the favorite bookmark entry would include the custom icon. These links, represented by an icon, are called Web Clips. You may want users to be able to add your web application or webpage link to the Home screen. So, am I missing something really obvious or its there really a bug Also tried: cordova-res -typeicon -icon-sourceresources/icon.

Root folder icon png how to#
Read Viewport Settings for Web Applications for how to set the viewport for web applications on iOS. Apple iOS has a feature called Add to Home Screen, which basically makes your mobile website look like an app (it hides the browsers’ address bar and everything) the Apple touch icon offers a device-specific app icon for this makeshift app. To specify an icon for the entire website (every page on the website), place an icon file in PNG format in the root document folder called apple-touch-icon.png. I'm running on the project root and I have the resources/icon.png file. These are all optional settings that when added to your web content are ignored by other platforms. You can also minimize the Safari on iOS user interface, as described in Changing the Status Bar Appearance and Hiding Safari User Interface Components, when your web application is launched from the Home screen. You do this by using settings for iOS that are ignored by other platforms.įor example, you can specify an icon for your web application used to represent it when added to the Home screen on iOS, as described in Specifying a Webpage Icon for Web Clip. You can tailor your web application for Safari on iOS even further, by making it appear like a native application when the user adds it to the Home screen. Next Previous Configuring Web ApplicationsĪ web application is designed to look and behave in a way similar to a native application-for example, it is scaled to fit the entire screen on iOS.
