iPhone SDK录制视频,然后通过电子邮件发送
我想知道是否有人可以告诉我如何录制视频,并将其作为附件添加到IOS中的mail composer。越具体越好。谢谢。检查此线程以通过编程方式捕获视频 查看有关iOS mail composer的本教程 Mail composer仅支持图像作为直接附件,并且需要将其他格式添加为nsdataiPhone SDK录制视频,然后通过电子邮件发送,iphone,ios,video,sdk,record,Iphone,Ios,Video,Sdk,Record,我想知道是否有人可以告诉我如何录制视频,并将其作为附件添加到IOS中的mail composer。越具体越好。谢谢。检查此线程以通过编程方式捕获视频 查看有关iOS mail composer的本教程 Mail composer仅支持图像作为直接附件,并且需要将其他格式添加为nsdata 附言:如果你在没有谷歌搜索的情况下提问,人们可能会投反对票。请检查此线程,以便通过程序捕获视频 查看有关iOS mail composer的本教程 Mail composer仅支持图像作为直接附件,并且
附言:如果你在没有谷歌搜索的情况下提问,人们可能会投反对票。请检查此线程,以便通过程序捕获视频 查看有关iOS mail composer的本教程 Mail composer仅支持图像作为直接附件,并且需要将其他格式添加为nsdata 注:如果你在没有谷歌搜索的情况下提问,人们可能会投反对票。.h文件
#import <MessageUI/MessageUI.h>
#import <MessageUI/MFMailComposeViewController.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <MediaPlayer/MediaPlayer.h>
@interface ViewController : UIViewController <MFMailComposeViewControllerDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate>
{
UIImagePickerController *imagePicker;
NSURL *videoURL;
}
-(IBAction)submitVideo;
.h文件
#import <MessageUI/MessageUI.h>
#import <MessageUI/MFMailComposeViewController.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <MediaPlayer/MediaPlayer.h>
@interface ViewController : UIViewController <MFMailComposeViewControllerDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate>
{
UIImagePickerController *imagePicker;
NSURL *videoURL;
}
-(IBAction)submitVideo;