开发者

Add url link or image(with url link) to mail app - iphone

NSString *url = [NSString stringWithString: @"mailto:?subject=Wallpapers%203d%20App&body=Have%20fun%20with%20this%20unique%20wallpaper%20app"];
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];

I am using this co开发者_C百科de to open the mail app at iphone in order the user to send an email. I want to add a url link or image(with url linke) inside the mail which the user sends so when his friend opens his email and taps to the link he will be redirected to the app store and download the app.


  1. You can use MFMailComposeViewController instead of mailto: links to send mails. This gives you more control, e.g. you can attach an image with it.
  2. See How can I link to my app in the App Store (iTunes)? about how to get the URL to your app.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜