Muhammad Riaz
Muhammad Riaz

Reputation: 403

Show download button if iOS App not installed using jquery

I have a download button for my iOS App on my website page .

<a class="downloadButton" href="myAppURL">Download</a>

Problem: When user open my website on iOS device, it check if App already installed download button not display, but if App not already installed it display download button.

Any solution using jquery of javascript.

Upvotes: 0

Views: 170

Answers (1)

Oscar
Oscar

Reputation: 13960

You can't list installed apps from a browser using js, it would be a security hole. Just show the download button to everyone and let the user decide if he wants to install your app.

Upvotes: 1

Related Questions