Use this constant to initialize a CMTime
to +infinity.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
Framework
- Core Media
Declaration
static let positiveInfinity: CMTime
Discussion
Do not test against this using (time == k
, there are many CMTimes other than this that are also +infinity. Use CMTIME
instead.