Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Remove the Camera Layer from LLSimpleCamera? #142

Open
binitvermani opened this issue Nov 13, 2017 · 1 comment
Open

How to Remove the Camera Layer from LLSimpleCamera? #142

binitvermani opened this issue Nov 13, 2017 · 1 comment

Comments

@binitvermani
Copy link

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

@codebreaker5163
Copy link

You can remove it like this:

[camera.view removeFromSuperview];
camera = nil;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants