Type Property

zero

Use this constant to initialize a CMTime to 0.

Declaration

static let zero: CMTime

Discussion

Do not test against this using (time == kCMTimeZero), there are many CMTimes other than this that are also 0. Use CMTimeCompare(time, kCMTimeZero) instead.

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