Resize UIView from bottom to top

I know that I can resize UIView

like this:

UIView.animateWithDuration(0.3, delay: 0, options: .CurveEaseOut, animations: {
    self.myView.frame.size.height = 300
}, completion: { finished in
    self.open = false
    println("closed!")
})

      

But I need to resize the view so that it resizes upward (bottom to top). UIView is currently expanding.

Is there a way to do this without flipping the UIView?

+3


source to share





All Articles