为什么我使用 UiView.animateWithDuraion函数,delay:10 不起作用? 都是直接翻页不等待了?请大侠相助 //循环翻照片 UIView.animateWithDuration(1.0, delay:10, options:nil, animations: { UIView.transitionWithView(self.Goddness1_2nd, duration: 1, options: UIViewAnimationOptions.TransitionFlipFromRight, animations: { self.Goddness1_2nd.image = UIImage(named: String(self.imageName_1)) }, completion: self.nextAnimation) }, completion: nil ) func nextAnimation (Bool) { UIView.transitionWithView(self.Goddness1_2nd, duration: 2.0, options: UIViewAnimationOptions.TransitionFlipFromLeft, animations: { self.Goddness1_2nd.image = UIImage(named: "0") }, completion: nil) }
目前暂无任何回答
- 0 回答
- 0 关注
- 2131 浏览
添加回答
举报
0/150
提交
取消