Check out example codes for "hide status bar in tableview cell in swift". It will help you in understanding the concepts better.

Code Example 1

override var prefersStatusBarHidden: Bool {
        return true
    }

Learn ReactJs, React Native from akashmittal.com