什么我使用 UiView.animateWithDuraion函数,delay:10 不起作用? 都是直接翻页不等待了?请大侠相助

  为什么我使用 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)

   }

 


慕无忌4948990
浏览 2138回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

iOS