Check out example codes for "swift self.present full screen". It will help you in understanding the concepts better.

Code Example 1

let vc = UIViewController()
vc.modalPresentationStyle = .fullScreen //or .overFullScreen for transparency
self.present(vc, animated: true, completion: nil)

Learn ReactJs, React Native from akashmittal.com