Iphone AVFoundation在ios5上工作不正常
我开始在我的应用程序上使用ios 5,我发现avfoundation工作不正常。 我有来自 运行时出现以下错误::CGBitmapContextCreateImage:无效上下文0x0 我检查并输入:Iphone AVFoundation在ios5上工作不正常,iphone,avfoundation,ios5,Iphone,Avfoundation,Ios5,我开始在我的应用程序上使用ios 5,我发现avfoundation工作不正常。 我有来自 运行时出现以下错误::CGBitmapContextCreateImage:无效上下文0x0 我检查并输入: - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)c
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection {
sampleBuffer为零。
这有什么问题吗?将您的代码张贴到哪里使用CGBitmapContextCreateImage
iOS 5
在保密协议下。请在开发者论坛中询问此问题。在NDA下发布您的代码,在哪里使用CGBitmapContextCreateImageiOS 5
。请在开发者论坛上问这个问题。