How Can I Record the Screen with Acceptable Performance While Keeping the UI Responsive?

后端 未结 2 1204
我寻月下人不归
我寻月下人不归 2021-02-01 10:30

I\'m looking for help with a performance issue in an Objective-C based iOS app.

I have an iOS application that captures the screen\'s contents using CALayer\'s renderInC

相关标签:
2条回答
  • 2021-02-01 10:51

    Maybe you can record at half resolution to speed up things, if that fits the requirements?

    0 讨论(0)
  • 2021-02-01 11:07

    "Since the layer must be rendered on the main thread" this is not true, as long as you don't touch UIKit.

    Please see https://stackoverflow.com/a/12844171/136305

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