我正在尝试设计动画启动画面。我创建了启动画面并在第一个屏幕上添加了一个segue,但我不确定在动画结束时如何启动第一个屏幕。
UIView.animate(withDuration: 0.5, animations: {
// your animation
}) { (completed) in
let yourController = YourController()
self.navigationController?.pushViewController(yourController, animated: true)
}