Could this be the end of 'Download our app' roadblocks?

One of the new browser features in iOS6 that I'd never noticed before is this litte gem - Smart App Banners:

Website or native app? If we have both, now we can join efforts and connect our website with our native app. With Smart App Banners, Safari can show a banner when the current website has an associated native app. The banner will show a “INSTALL” button if the user doesn’t have the app installed or a “VIEW” button to open it if installed. We can also send arguments from the web to the native app. The case is to open the native app on the same content that the user were seeing on the web site.

You just include a meta header:

{% codeblock %}

{% endcodeblock %}

and you get a nice banner that pulls down from the top, and takes the user directly to the appstore - or allows them to download it. You can even put affiliate info on it:

{% codeblock %}


{% endcodeblock %}

Please, for the love of all that stops people wanting to dig eyes out with a spoon, please use this rather than the full screen pleas of "you want to download our app, don't you? Rather than reading the webpage you clicked on?".

[Update]: I missed that you can also pass a parameter in, too, using app-argument= parameter:

{% codeblock %}

{% endcodeblock %}

calls

{% codeblock %}
-(BOOL)application:(UIApplication*)application
openURL:(NSURL*)url
sourceApplication:(NSString*)sourceApplication
annotation:(id)annotation
{% endcodeblock %}

I've added these into the various pages for my apps - it was quite easy, and a small change to Octopress.

Nic Wise

Nic Wise

Auckland, NZ