Capture screen with CGDisplayStream

后端 未结 2 821
刺人心
刺人心 2021-01-06 01:20

I\'m trying to implement a feature in my app that will record the screen. I have bits of code that I have found in some sample code and a WWDC 2012 video.

So far I

2条回答
  •  醉梦人生
    2021-01-06 02:16

    I solved the problem by using CGDisplayStreamCreateWithDispatchQueue and passing dispatch_queue_create("queue for dispatch", NULL); as the queue.

提交回复
热议问题