Swift Error : Use of module 'CMSampleBuffer' as a type

后端 未结 1 1418
醉梦人生
醉梦人生 2021-01-14 20:42

I saw below question to use \'captureStillImageAsynchronouslyFromConnection\' function in swift: How to convert code AVFoundation objective c to Swift?

When I try t

相关标签:
1条回答
  • 2021-01-14 21:16

    @Jack and @Christian's solutions worked for me. I was not careful enough to import CoreMedia. I never used this framework before, and did not know if the problem was due to not having imported a correct framework. Thank you for your help!

    0 讨论(0)
提交回复
热议问题