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

我使用此代碼打開郵件應用程序在iPhone爲了用戶發送電子郵件。 我想在用戶發送的郵件中添加一個url鏈接或圖像(使用url linke),當他的朋友打開他的電子郵件並點擊鏈接時,他將被重定向到應用商店並下載該應用。添加URL鏈接或圖像(與URL鏈接)郵件應用程序 - iphone

回答