encode(_:forKey:)
Encodes a given Core Media time structure and associates it with a specified key.
Declaration
func encode(_ time: CMTime, forKey key: String)Parameters
- time:
A
CMTimestructure. - key:
The key with which to associate
timein the archive.