Hey everybody what's going on this is Caleb with Debb slopes dot com.
And welcome to the intro to replay hit target topic in this Target topic we're going to be learning
how to use replay kit to record the screen in our applications.
Save the video file and even trim and edit the video file before saving it to our camera roll.
The implications of this are far reaching.
Think about gaming apps where you could record something amazing that you did to send to a friend.
Think about social media apps.
Being able to record something on your screen and post it to show a demonstration of what you've been
doing.
Or even in a certain Affe being able to film a tutorial on how to use a certain feature of an app it's
great for helping people who maybe don't know how to use certain apps.
So anyway I want to show you the application we're going to build so I'm going to go ahead and just
swipe it over here on my screen and check it out.
Here it is.
So we have a photo displayed that we can change with a UI segment controller and the only real purpose
of this is just to show interaction in the app when we record the screen.
You have a toggle switch to turn on or off microphone access.
There's a label at the top saying ready to record and a green record button at the bottom.
Now when I tap on that green record button watch what happens.
It goes ahead and it starts recording now.
It says recording at the top in red text and the recording button says stop.
You should also notice that the microphone access toggle switch is now disabled.
Now I can go ahead and just cycle through some images here to show interaction.
And when I pressed stop we get a very cool.
Would you like to edit or delete your recording if I tap delete.
It's gonna delete it and just go back to my screen.
But if I push edit.
Watch what happens.
I have access to my video.
I can play it just like so.
And it's going to show everything that I just recorded which is very cool.
Now I also can go ahead and I can scrub through the video using the slider at the bottom or I can even
use the handles to trim what I want to keep at the end I can push it done.
And then it's done being trimmed and I can either tap the share button at the bottom and I message or
airdropped that to somebody or I can just push save.
And it saves it straight to my camera roll super duper cool stuff.
The implications of this.
Like I said are far reaching there are so many cool things you can do.
So I'm really excited to get you into this so let's head over to the next video where we're going to
build up our app UI.
I'll see you there.