output.videoSettings = [NSDictionary dictionaryWithObject:
[NSNumber numberWithInt:kCVPixelFormatType_32BGRA]
forKey:(id)kCVPixelBufferPixelFormatTypeKey];
I get this error on this particular line
No known class method for selector "dictionaryWithObject:forKey:
Any reason for this error?
Try this: