ios url redirect from mail to app

前端 未结 3 1926
别那么骄傲
别那么骄傲 2020-12-30 11:24

Is it possible to somehow launch my app using a URL sent via mail? For example I have User profile that user wants to invite their friend into the app. They send an e-mail t

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-30 11:47

    The marked answer above is correct and works fine. However, in iOS 9, Apple introduced Universal Links, which allows you to associate a particular web domain or a web link (path) to your app. This makes it easier to redirect to your app if the app is installed or redirect to your web page if the app is not.

    Note that you might still need to support Scheme URI (possibly with a fallback to a url links if the app is not installed like here) for devices that are still running older versions of iOS (prior to iOS 9).

    I have documented my experience with Universal Links here if anybody is interested.

提交回复
热议问题