我正在使用以下代码
if ([MFMailComposeViewController canSendMail])
{
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
[picker setSubject:@"Check out"];
UIImage *morphedImage = [sharedSingleton getCopy];
NSData *myData = UIImagePNGRepresentation(morphedImage);
[picker addAttachmentData:myData mimeType:@"image/png" fileName:@"RaceFaceImage"];
[picker setMessageBody:@"I've given you a new look using my RaceFace iPhone application. Check it out and have a good laugh. I dare you to Race me, download the app here:<b>Sourish</b><a href='www.google.com'>itunesLink</a>" isHTML:YES];
[self presentModalViewController:picker animated:YES];
[picker release];
}
else
{
}
我正以这种方式获得O / Pin
我想要当我点击蓝色文字时,应该打开特别的人,我该怎么办?
任何形式的帮助都非常有帮助 谢谢和问候
答案 0 :(得分:0)
使用此代码
NSString *link = [NSString stringWithFormat:@"http://www.google.com"];
[controller setMessageBody:[NSString stringWithFormat:@"<p><font size=\"2\" face=\"Helvetica\"><a href=%@></br>%@</br></a></br></font></p>",link,@"Google"] isHTML:YES];
希望它可以帮助你......