Detect if application is installed on users Mac OS

2019-08-24 09:04发布

问题:

How can I detect from a browser if an application is installed on a users Mac OS X.

I want to achieve, that if the user clicks the download button then if he has the application installed it downloads a specific file which can be opened with this application, and if the user don't have the application, then he is prompted that he needs to download the application first to view the actual file.

回答1:

This link solved my question.

Thanks goes to Doug Stephen for providing the link, here:

Determine if an app exists and launch that app on iOS

This link was also helpful to move on with the parsing.