title: How to present Google Place Picker UI Widget on viewDidLoad
body: <p>I have added the below code from google documentation but it doesn't load placePicker</p>
  
  <p>If i add a button and add the same code to an IBAction it works perfectly.</p>
  
  <p>Can someone help me understand what is the problem?</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      let config = GMSPlacePickerConfig(viewport: nil)
      let placePicker = GMSPlacePickerViewController(config: config)
      placePicker.delegate = self
      present(placePicker, animated: true, completion: nil)
  }
  </code></pre>