isarathg
isarathg

Reputation: 878

How to send email when a link is clicked?

In my iPhone application I had an email address. If anyone touches touches that link an email should send to that email address. Is there any way for doing this?

Anyone please help..

Upvotes: 2

Views: 555

Answers (2)

user141302
user141302

Reputation:

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

Upvotes: 1

Satyam
Satyam

Reputation: 15894

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

Upvotes: 0

Related Questions