title: Swift Unable to present view controller from top to bottom
body: <p>In my application I have to present the screen from Top to bottom and I have tried below code its giving the same normal presenting style.</p>
  
  <pre><code>        let screen = self.storyboard?.instantiateViewController(withIdentifier: "Screen1p5") as? Screen1p5
          let transition = CATransition()
          transition.duration = 0.5
          transition.type = kCATransitionPush
          transition.subtype = kCATransitionFromTop
          view.window!.layer.add(transition, forKey: kCATransition)
          self.present(screen!, animated: true, completion: nil)
  </code></pre>