質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top