1
00:00:07,130 --> 00:00:10,490
Hey everybody what's going on this is Caleb with Debb slopes dot com.

2
00:00:10,500 --> 00:00:16,140
And welcome to the intro to replay hit target topic in this Target topic we're going to be learning

3
00:00:16,140 --> 00:00:20,470
how to use replay kit to record the screen in our applications.

4
00:00:20,490 --> 00:00:25,620
Save the video file and even trim and edit the video file before saving it to our camera roll.

5
00:00:25,770 --> 00:00:27,950
The implications of this are far reaching.

6
00:00:27,960 --> 00:00:32,990
Think about gaming apps where you could record something amazing that you did to send to a friend.

7
00:00:33,000 --> 00:00:34,540
Think about social media apps.

8
00:00:34,560 --> 00:00:38,940
Being able to record something on your screen and post it to show a demonstration of what you've been

9
00:00:38,940 --> 00:00:39,550
doing.

10
00:00:39,780 --> 00:00:45,210
Or even in a certain Affe being able to film a tutorial on how to use a certain feature of an app it's

11
00:00:45,210 --> 00:00:48,330
great for helping people who maybe don't know how to use certain apps.

12
00:00:48,330 --> 00:00:51,540
So anyway I want to show you the application we're going to build so I'm going to go ahead and just

13
00:00:51,540 --> 00:00:54,870
swipe it over here on my screen and check it out.

14
00:00:54,930 --> 00:00:55,440
Here it is.

15
00:00:55,440 --> 00:01:02,520
So we have a photo displayed that we can change with a UI segment controller and the only real purpose

16
00:01:02,520 --> 00:01:06,720
of this is just to show interaction in the app when we record the screen.

17
00:01:06,720 --> 00:01:10,710
You have a toggle switch to turn on or off microphone access.

18
00:01:10,770 --> 00:01:15,630
There's a label at the top saying ready to record and a green record button at the bottom.

19
00:01:15,630 --> 00:01:18,790
Now when I tap on that green record button watch what happens.

20
00:01:19,660 --> 00:01:21,970
It goes ahead and it starts recording now.

21
00:01:22,030 --> 00:01:26,410
It says recording at the top in red text and the recording button says stop.

22
00:01:26,440 --> 00:01:30,940
You should also notice that the microphone access toggle switch is now disabled.

23
00:01:30,940 --> 00:01:35,070
Now I can go ahead and just cycle through some images here to show interaction.

24
00:01:35,320 --> 00:01:38,650
And when I pressed stop we get a very cool.

25
00:01:38,650 --> 00:01:42,040
Would you like to edit or delete your recording if I tap delete.

26
00:01:42,070 --> 00:01:44,410
It's gonna delete it and just go back to my screen.

27
00:01:44,530 --> 00:01:45,740
But if I push edit.

28
00:01:45,850 --> 00:01:47,050
Watch what happens.

29
00:01:47,050 --> 00:01:48,820
I have access to my video.

30
00:01:49,030 --> 00:01:50,960
I can play it just like so.

31
00:01:51,130 --> 00:01:54,950
And it's going to show everything that I just recorded which is very cool.

32
00:01:54,970 --> 00:02:00,550
Now I also can go ahead and I can scrub through the video using the slider at the bottom or I can even

33
00:02:00,550 --> 00:02:05,360
use the handles to trim what I want to keep at the end I can push it done.

34
00:02:05,680 --> 00:02:12,010
And then it's done being trimmed and I can either tap the share button at the bottom and I message or

35
00:02:13,090 --> 00:02:16,070
airdropped that to somebody or I can just push save.

36
00:02:16,120 --> 00:02:19,450
And it saves it straight to my camera roll super duper cool stuff.

37
00:02:19,450 --> 00:02:20,640
The implications of this.

38
00:02:20,680 --> 00:02:23,840
Like I said are far reaching there are so many cool things you can do.

39
00:02:23,830 --> 00:02:28,390
So I'm really excited to get you into this so let's head over to the next video where we're going to

40
00:02:28,390 --> 00:02:31,010
build up our app UI.

41
00:02:31,190 --> 00:02:32,750
I'll see you there.
