I'm using the meta tag for displaying my application ios in the app banner for iphone/ipad devices.
<meta name="apple-itunes-app" content="app-id=xxxxxxx"/>
Users can easily dismiss a Smart App Banner by tapping the X button on the left. Once dismissed, it doesn’t show itself again for that user on that website, even if the website is reloaded. The only way to get it to show again is if the user clears some metadata on that iOS device.