detailsView.layer.transform = CATransform3DMakeScale(0.1,0.1,1)
UIView.animateWithDuration(0.25, animations: {
self.detailsView.layer.transform = CATransform3DMakeScale(1,1,1)
})
I have tried this one, which zooms, some thing like when an App is opened.
I want something which can slide from top to bottom.