title: How to get safe area frame of programmatically created ViewController?
body: <blockquote>
    <p>Note : Not created ViewController in storyboard</p>
  </blockquote>
  
  <p>I created ViewController programmatically after giving support for safe guard now my problem is that how i can got his height?</p>
  
  <p>I try following thing but no luck </p>
  
  <pre><code>let guide = view.safeAreaLayoutGuide
  let height = guide.layoutFrame.size.height
  print("\(height)")
  print("\(self.view.frame.height)")
  height = 812.0, self.view height = 812.0
  </code></pre>
  
  <p>Is there any other way?</p>