time(withTimescale:rounding:)
Returns the current time in the timescale you request.
Declaration
func time(withTimescale timescale: CMTimeScale, rounding: CMTimeRoundingMethod = .`default`) -> CMTimeReturns the current time in the timescale you request.
func time(withTimescale timescale: CMTimeScale, rounding: CMTimeRoundingMethod = .`default`) -> CMTime