我确实MMS在 iPhone 上进行了搜索,但我没有找到太多关于此的信息,大部分发现都与图像有关。我想使用 in 发送音频。MMS是否可以这样做?我有以下关于.iPhoneios sdkMMS
如何识别使用MMS中的所有音频文件?iPhoneiOS SDK
如何在使用中播放MMS文件?iPhoneiOS SDK
有人可以帮我识别这些东西吗!
我确实MMS在 iPhone 上进行了搜索,但我没有找到太多关于此的信息,大部分发现都与图像有关。我想使用 in 发送音频。MMS是否可以这样做?我有以下关于.iPhoneios sdkMMS
如何识别使用MMS中的所有音频文件?iPhoneiOS SDK
如何在使用中播放MMS文件?iPhoneiOS SDK
有人可以帮我识别这些东西吗!
MMS如在多媒体消息服务中,iOS 中的开发人员无法使用。只有 messages.app 可以发送MMS,您不能从 messages.app 访问任何数据,也不能发送MMS.
iOS SDK 提供消息 UI 框架,允许您发送电子邮件和文本消息。但短信仅限于SMS。
更新:iOS 7 现在支持附件。
 - (void)sendAudioFile:(NSURL)audioFilePath {
    if ([MFMessageComposeViewController canSendAttachments] &&
        [MFMessageComposeViewController canSendText] &&
        [MFMessageComposeViewController isSupportedAttachmentUTI:@"com.apple.coreaudio-format"]) //.caf files
    { 
        NSLog(@"can send");
        MFMessageComposeViewController *message = [[MFMessageComposeViewController alloc] init];
        [message addAttachmentURL:audioFilePath withAlternateFilename:nil]; //.caf file
        message.messageComposeDelegate = self;
        [self presentViewController:message animated:YES completion:nil];
    }
    else {
        NSLog(@"cannot send");
    }
}