共有4篇文章,第1页,共1

  • MFMailComposeViewController 发邮件[博客]
    Qicz 发表于 2013-07-31 16:52|0次评论|877次阅读
    #pragma mark - feedback - (void)sendFeedBackMail{ MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate = self; [picker setSubject:@"subjbect"]; picker.navigationBar.tintC...
  • 【转载】iOS-发送邮件[博客]
    Redding 发表于 2013-01-10 22:29|0次评论|1526次阅读
    iPhone API已经提供了系统写邮件界面的接口,使用MFMailComposeViewController,用来显示界面. 项目中需要添加MessageUi.framework。头文件加入MFMailComposeViewControllerDelegate。#import <MessageUI/MessageUI.h> sendMailViewController.m文件的实现: - (void)viewDi...
  • 程序崩溃邮件通知代码[博客]
    AmoyAI 发表于 2012-12-15 23:29|0次评论|509次阅读
    利用 NSSetUncaughtExceptionHandler,当程序异常退出的时候,就给指定的邮箱发送邮件,邮件内容包括发生异常时候的详情。代码如下: void UncaughtExceptionHandler(NSException *exception) { NSArray *arr = [exception callStackSymbols]; NSString *reason = [excepti...
  • iPhone开发中发送e-mail的3种方式[分享]
    junwong 发表于 2012-03-01 10:54|0次评论|1629次阅读
    iOS系统框架提供的两种发送Email的方法 1、使用openURL来实现发邮件的功能: NSString *url = [NSString stringWithString: @"mailto:foo@example.com?cc=bar@example.com& subject=Greetings%20from%20Cupertino!& body=Wish%20you%20were%20here!"];[[UIApplica...
top Created with Sketch. 顶部