在屏幕录制 github 项目上 here ,我看到了一行代码:
mCaptureScreenInput = [[NSClassFromString(@"QTCaptureScreenInput") alloc] init];
Google 搜索 QTCaptureScreenInput
显示网络上只提到了两个项目,那个项目和另一个具有该类型未使用的 ivar 的项目。
什么是QTCaptureScreenInput
?
最佳答案
这是一个私有(private) API。可以看到here QuickTime Player 使用它来实现屏幕录制。
关于objective-c - 什么是 QTCaptureScreenInput?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8960410/