2016-05-24 8 views

Antwort

1

Sie können benutzerdefinierte Animation verwenden Ich denke, so etwas wie,

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") 
Verwandte Themen