- Let's begin by adding the mask image to the iOS portion of the app. We'll need to open the ios folder of the project in Xcode, located in the ios/ directory of the new React Native app.
- We can add the hidden.jpg image to the project by dragging and dropping the image into the Images.xcassets folder of the project in Xcode, as shown in this screenshot:
- Next we'll add a new implementation and two methods to the AppDelegate.m file. The entirety of the file can be found as follows, including generated code. The code we're adding is marked in bold for clarity. We're extending the applicationWillResignActive method, which will ...