omergul/LLSimpleCamera

How to Remove the Camera Layer from LLSimpleCamera?

Opened this issue · 1 comments

I am trying to remove the Camera from my view but I can't.
I have tried [camera stop], [self.camera removeFromParentViewController] and self.camera = nil.

Still it's not removing from super.
Could you please provide me a solution for this problem?

Thanks in advance

You can remove it like this:

[camera.view removeFromSuperview];
camera = nil;