1.0.2 • Published 6 years ago

add-to-ios-homescreen v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Add to Homescreen call out

Script for mobile iOS devices, it automatically shows an overlaying message encouraging to add the web app to the homescreen. Compatible with iOS 6+.

Installation

Add addtohomescreen.css and addtohomescreen.js to the head of your projects index file. Then, call addToHomescreen(); as soon as possible. For example:

<head>
<title>Add To Home</title>
...
<link rel="stylesheet" type="text/css" href="../../style/addtohomescreen.css">
<script src="../../src/addtohomescreen.js"></script>
<script>
addToHomescreen();
</script>
</head>

For more, consult the original project's website.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago