Animation custom
func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
}
뷰가 전환될 때의 Duration
func transitionDuration(using transitionContext: UIViewControllerContextTransitioning?) -> TimeInterval {
}
view가 보여질 때 실행
func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}
view가 사라질 때 실행
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}