Is there any way to check if a URL scheme is currently registered on the phone... with javascript?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- CALayer - backgroundColor flipped?
I have this comment https://stackoverflow.com/a/18715513/49114 with a jQuery plugin to add alternative app link to regular links.
Here is a variation on the previous 2 solutions. It will create a link that can be opened in Google Chrome. If it fails it opens the link using http
Here is a solution that does not show the popup when you come back from the app, it assumes you've been gone longer than 400 ms:
Starting from iOS 6.0 Apple presented the Smart App Banners which do what most of us are looking for:
Include the following meta tag:
taken from here: Safari Web Content Guide