<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CATransition/subtype",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CATransition(py)subtype"
  },
  "title" : "subtype"
}
-->

# subtype

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

```
var subtype: CATransitionSubtype? { get set }
```

## Discussion

The possible values are shown in  [Common Transition Subtypes](/documentation/QuartzCore/common-transition-subtypes). The default is `nil`.

This property is ignored if a custom transition is specified in the [`filter`](/documentation/QuartzCore/CATransition/filter) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)