Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying Smart Banner in iOS 6 UIWebview component

I would like to use a Smart Banner on my website. It works great in Safari mobile but is not displayed at all in Tweetbot, Twitter App, Facebook App, or any other application that will display my website in a UIWebView component.

Do you know a way to achieve that or a workaround that will let me detect whether my application is already installed and display a message only if it is not.

like image 532
Olivier Amblet Avatar asked Jan 24 '13 08:01

Olivier Amblet


1 Answers

Unfortunately, I think SmartBanners only work in MobileSafari. However, you can design your own SmartBanner interface and use the technique outlined in this question: Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps? to do that.

like image 117
Sam Baumgarten Avatar answered Oct 16 '22 16:10

Sam Baumgarten