Common Transition Subtypes

These constants specify the direction of motion-based transitions. They are used with the subtype property.

Topics

Constants

static let fromRight: CATransitionSubtype

The transition begins at the right side of the layer.

static let fromLeft: CATransitionSubtype

The transition begins at the left side of the layer.

static let fromTop: CATransitionSubtype

The transition begins at the top of the layer.

static let fromBottom: CATransitionSubtype

The transition begins at the bottom of the layer.