Instance Property


Specifies the predefined transition type.


var type: CATransitionType { get set }


The possible values are shown in Common Transition Types. This property is ignored if a custom transition is specified in the filter property. The default is fade.

See Also

Transition Properties

var subtype: CATransitionSubtype?

Specifies an optional subtype that indicates the direction for the predefined motion-based transitions.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software