> On Feb 7, 2017, at 6:49 PM, Eric E. Dolecki <edole...@gmail.com> wrote:
> 
> Now, I want to instantiate an AVAudioPlayer and play that sent file. I know
> that it's received (didFinish file transfer fires in the Watch Extension).
> How do I do that? I don't know how to make that file Data.

Can’t you just create the AVAudioPlayer from the file's URL? I’m not super 
handy with Swift, but it should be something like `AVAudioPlayer(contentsOfURL: 
fileURL)`.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to