They said in WWDC that you can attach video, but they didnt mention audio. Can I do this with insertAttachment()?
Thank you
They said in WWDC that you can attach video, but they didnt mention audio. Can I do this with insertAttachment()?
Thank you
Yes, you can insert audio attachments as well.
I was able to attach video and a image but no audio.
using the .mediaFileURL doesn't attach the audio.😐
Please file a bug report. If you have a sample project that you can attach that will make it much easier to triage.
I'm also experiencing issues with this with m4a files. When I use mediaFileURL property and send it to an iOS 9 device it does correctly send it as an audio file that you can play but not so to other iOS 10 devices. However if I use the insertAttachment:URL:withAlternateFilename:completionHandler: method it works on both iOS 10 and iOS 9. However I'd rather use the mediaFileURL property to send it so I can add a caption and use MSMessageTemplateLayout.