iOS - Open an app with a URL Scheme from Chrome

前端 未结 3 2045
暖寄归人
暖寄归人 2021-01-04 05:11

I\'ve read many many blogs and examples of how to open an app from an URL scheme (for example, this blog), and it seems to work great when I call my app from

3条回答
  •  半阙折子戏
    2021-01-04 05:47

    We can simply open the deep link using JavaScript which works fine in both chrome and safari in iOS. If you want to achieve the custom url scheme using JavaScript you can use the below code: document.location = "testapp://"

提交回复
热议问题