title: UIView is not showing except for a button action in swift
body: <p><a href="https://i.stack.imgur.com/0wc3d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0wc3d.png" alt="enter image description here"></a>I have created a UI in storyboard which has top, center, and bottom UIViews.</p>
  
  <p>Below the bottom screen there is another UIView  which will show only for a button action in bottom, this comes as .CurveLinear from bottom to top , </p>
  
  <p>This works perfectly fine for a button action, but I want to happen this for a viewDidAppear, but its not working: </p>
  
  <pre><code>UIView.animateWithDuration(0.5, delay: 0.1, options: .CurveLinear , animations: {
      self.infoView.frame = CGRectMake(0, 300, self.infoView.frame.size.width, self.infoView.frame.size.height)
      }) { (true) in
  
  }
  </code></pre>
  
  <p>This is the code block that I execute to bring the view from bottom to top, how come it only works for a button action?</p>