cubiq/add-to-homescreen — pull request #33 by jlyman (2012-10-13 15:45:26+00:00)
Title: Native iOS 6 Smart App Banner Support

**Summary:**
I have also used this awesome script to advertise the actual App Store version of the app by including a link in the message. With the introduction of iOS 6 and Smart App Banners, I wanted to switch to using that functionality where possible. This change allows a boolean to be set triggering the Smart App Banner, and specifying an app ID to link to.

**New Options:**
* `options.iOS6AppBanner:` True if you want iOS 6 devices to show the app banner. Defaults to true.
* `options.appId:` The numerical app ID as defined in the iTunes store. If iOS6AppBanner is true but this is not set, no app banner will be displayed.

**Directions:**
1. When specifying the initial options for use in addToHomeConfig, also specify something similar to the following:
```
ios6AppBanner: true,
appId: 546236058
```
2. That's it! :)