[ad_1]
I’m making an attempt to implement push and pop animation of VC with fashion .pageSheet for UINavigationoController as a full copy of .current animation, however cannot perceive the best way to obtain this animation impact. I had checked out <ios animations by tutorials sixth version> guide and some examples one among these is Navigation controller customized transition animation, and I noticed that that is advanced animation, and I can not obtain this impact absolutely, as a result of proper now I can solely obtain the impact of animation body however cannot cease animation like within the fashion of .pageSheet, instance of animation which I need to add to push and pop 
I additionally tried to make use of a trick for a presentation from the underside however I can not cease this animation like on an image, when final VC above different
let transition:CATransition = CATransition()
transition.period = 2.0
transition.timingFunction = CAMediaTimingFunction(identify: CAMediaTimingFunctionName.easeInEaseOut)
transition.kind = CATransitionType.moveIn
transition.subtype = CATransitionSubtype.fromTop
supply?.navigationController?.view.layer.add(transition, forKey: kCATransition)
supply?.navigationController?.pushViewController(vc, animated: true)
Additionally, I can open VC as I need utilizing this instance of push animation Methods to change the Push and Pop animations in a navigation primarily based app by Fattie, however it’s simply opening from backside to prime with out impact as within the image
Are you aware if possibly exist some methods or default settings with out the aptitude to write down my very own implementation of this animation for push and pop animations?
I need to obtain impact after opening as within the image for pop and push animation
[ad_2]
