【发布时间】:2015-01-26 17:08:10
【问题描述】:
我有一个转场,当通过视图来回改变时会产生动画, 但一段时间后它会停止动画并立即更改。
这个转场是程序化的,当我通过情节提要完成时,我的转场工作得非常好。
func MoreInfo(sender: customButton!) {
var nextPage: activityViewController = self.storyboard?.instantiateViewControllerWithIdentifier("activityPopOver") as activityViewController
nextPage.model = sender.model
nextPage.coordinate = self.coordinate
self.navigationController?.pushViewController(nextPage, animated: true)
}
这就是我用来改变场景的所有代码,我的准备转场方法也是空的。 我也在使用 UI 视图控制器
【问题讨论】: