我正在尝试设计动画闪屏。我创建了闪屏,并在我的第一个屏幕上添加了一个片段,但我不确定动画结束后如何启动第一个屏幕。
发布于 2017-12-26 21:24:12
UIView.animate(withDuration: 0.5, animations: {
// your animation
}) { (completed) in
let yourController = YourController()
self.navigationController?.pushViewController(yourController, animated: true)
}https://stackoverflow.com/questions/47979135
复制相似问题