Better Programming

Advice for programmers.

Follow publication

Build an iOS Screen Recorder With React Native

Varun Bansal
Better Programming
Published in
9 min readFeb 22, 2020

Complete Code

Setup React Native JS Component

Our First Native Module

Project Explorer view in Xcode
#import <React/RCTViewManager.h>

Importing Native Module in JS Component

The very first draft of our app

Set Up iOS Broadcast Upload Extension

Select the extension from the dropdown and click Play
Select the UI extension and click Play
Select the app we are working with

Using AVAssetWriter to Save Recordings

Set Up App Groups

https://www.youtube.com/watch?v=Jlr9cF9nDnU
Final view when you have created the app group
Select the same app group in extension

List All Recordings

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Varun Bansal
Varun Bansal

Written by Varun Bansal

Developing instincts for the right way! writer @ asyncHour.com