From the course: iOS and watchOS App Development: Notifications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Audio and video attachments

Audio and video attachments

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

Audio and video attachments

- [Instructor] While we've seen that images are easy to add, you can also add other media the same way including audio and video. Let's add some audio and video to our project. Go ahead and stop the app and you'll see the media folder I created. That I've got an MP3 file and I've got a gif file here. And we can try to see if those work nicely. I'm going to start with the audio file and I'm going to change the name here. So, the easiest way to get a name is of course just to copy it over here and then I'm going to go back into the view controller and I'm going to just replace this. I'm going to replace this and I'm going to change this to audio. And with that, I'll run it again. Then we'll schedule a pizza, go over here make sure it got there, there it is. And when it comes down, I don't have any icon or anything, but when I pull it down, I get a little recorder here which will (string music) play some music. All right, we can try another thing. And, let's stop the app. And go to this…

Contents