Question

I am using AVFoundation to capture QR codes in my app. In ios 7.0 I am seeing some major issues with regards to the video capture. The capture takes longer and longer each time i do it, leading the app to crash due to memory leak issues.

It works fine with ios 7.1. Is this a known issue?

Was it helpful?

Solution

To fix this, I had to add the following code when stopping the captureSession

[_captureSession removeInput:self.captureInput];

I am not sure why this didn't present as an issue on ios 7.1 though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top