简体   繁体   中英

Open iOS App from URL in E-Mail (Custom URL Scheme)

I want the Links in my E-Mails to open in a 3rd-Party App on iPhones. The Links should also be openable on any computer.

The Links are normal http/https URLs. I am aware of the concept of custom url schemes on iOS. But links with 'myscheme://' in mails won't work on a computer. The normal approach is to open the website and let it detect if the device is an iPhone and redirect to the url scheme. Problem in this case: Safari won't work on these iPhones. (No way around) Everything happens in an intranet.

Is there a way to register an URL Scheme like Apple Maps does? This is Enterprise Development, so no App Store Review.

I think you should modify your url with php or javascript that check device model if url open on iphone/ipad send custom URL schema back and other case send some url for pc

something like this Check if PHP-page is accessed from an iOS device

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM