title: How to present ViewController in modaly swift 4
body: <p>How can i present viewController in modal. am a new beginner in ios and am using swift4
  I try this</p>
  
  <pre><code> let userVC = mainStoryboard.instantiateViewController(withIdentifier: 
    "menuC") as! MenuController
      userVC.modalPresentationStyle = UIModalPresentationStyle.overCurrentContext
        userVC.navigationController?.modalPresentationStyle = 
      UIModalPresentationStyle.overCurrentContext
      present(userVC, animated: true, completion: nil)
  </code></pre>