문제

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