Open iPhone App from an Email Link

前端 未结 2 621
盖世英雄少女心
盖世英雄少女心 2020-12-31 17:55

I\'ve working on a program where an email is sent to a user, and a link to open the iPhone app is embedded in the email. The problem is that when the user clicks the link to

相关标签:
2条回答
  • 2020-12-31 17:59

    It just should be:

    @"<BR><BR><BR><A HREF=\"myApp://\">Open App</A>"
    

    As a workaround for custom urls being blocked by gmail, what you could do is set up something like http://myapp.mydomain.com/ up do redirect to myapp://... That way it'll look like a normal domain but open your app. On the plus you will be able to see how many people click your link, though on the down side it'll pop via Safari first.

    0 讨论(0)
  • 2020-12-31 18:24

    Add 'http:' to all your images and urls, iphones dont recognize links w/o that. also use single quotes for them(').eg. <a href='http://xyz.com'></a><img src='http://xyz.com/pqr/abc.jpg'></img>

    0 讨论(0)
提交回复
热议问题