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

Can I use this qr code generator to store images? #51

Open
jrmkim50 opened this issue Jul 25, 2017 · 1 comment
Open

Can I use this qr code generator to store images? #51

jrmkim50 opened this issue Jul 25, 2017 · 1 comment

Comments

@jrmkim50
Copy link

No description provided.

@blochberger
Copy link

You just need a method to save UIImage instances on disk (see https://stackoverflow.com/a/44911381/5082444). Then you can simply pass qrCode.image to that method, e.g.:

let qrCode = QRCode(URL(string: "https://example.com")!)!
saveImage(image: qrCode.image!)

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