开发者

How to send email when a link is clicked?

开发者 https://www.devze.com 2022-12-25 13:26 出处:网络
In my iPhone application I had an email address.If anyone touches touches that link 开发者_如何学JAVAan email should send to that email address.Is there any way for doing this?

In my iPhone application I had an email address. If anyone touches touches that link 开发者_如何学JAVAan email should send to that email address. Is there any way for doing this?

Anyone please help..


If the Link is as UIButton ,you may use MFMailComposerFrame Work,related sample code is in Apple's sample code


Create a custom button with email id as label. Use UIApplication's openURL method to send a mail.

0

精彩评论

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