D
D
Dmitry Esin2016-07-19 13:16:01
JavaScript
Dmitry Esin, 2016-07-19 13:16:01

How to display the icon on the iOS application when you first enter the site from mobile?

Hello.
A rather non-trivial task came to me, but a simple one, the main thing is to figure it out.
The bottom line is this:
There is a ready-made SPA site and there is a ready-made mobile application on iOS.
When you first enter the SPA site through iOS devices, you need to draw something like this plate with an icon and a link to the mobile application in the app store:
034062a942.jpg
How is it done?
I assume that you just need to define the client through window.navigator and load this piece of layout if the first login, or is there some API in the app store through which this can be automatically configured?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Ogurtsov, 2016-07-19
@mrdubz

<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">

https://developer.apple.com/library/ios/documentat...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question