Reputation: 251
i m using UIPageViewController with page curl transition.How can i control transition page speed?
Upvotes: 1
Views: 780
Reputation: 27428
You can use custom animation i think something like,
let animation: CATransition = CATransition()
animation.delegate = self
animation.duration = 1.0
animation.startProgress = 0.2
animation.endProgress = 1
animation.type = "pageCurl"
animation.subtype = kCATransitionFromLeft
animation.fillMode = kCAFillModeBackwards
self.view.layer.addAnimation(animation, forKey: "animation")
Upvotes: 1