CMTimeMakeWithSeconds in swift 5

Solution:



CMTimeMakeWithSeconds(1.0, 600)

In swift 4 we are used the above code for CMT.

Swift 5:

            let start: CMTime = CMTimeMakeWithSeconds(1.0, preferredTimescale: 600)

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift