Sorry if this been answered before, but i can't find an answer here.

How do I store a CMTime value using CoreData?

Thanks in advance.

有帮助吗?

解决方案

Convert it to a dictionary and store the dictionary representation.

CMTimeCopyAsDictionary and CMTimeMakeFromDictionary

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top