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

customisation of a scanner view #23

Closed
maksTheAwesome opened this issue Jul 19, 2015 · 1 comment
Closed

customisation of a scanner view #23

maksTheAwesome opened this issue Jul 19, 2015 · 1 comment

Comments

@maksTheAwesome
Copy link

I kinda need only a scanner view (no cancel button and no switch to front camera button) to be displayed on a screen. So I added this method:

public func returnCameraView () -> UIView {
return cameraView;
}

I believe that adding only a clean scanner view to my view controller would be more preferable for the component.

@yannickl
Copy link
Owner

Hi,

the cameraView is a composition of the codeReader.previewLayer and the overlay. If you want only have the camera view you can add the codeReader.previewLayer directly as sub layer of your view.

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