Need help with ios-qr-code-encoder?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

moqod
450 Stars 93 Forks 10 Commits 5 Opened issues

Description

This is an Objective-C library that helps to easily convert a UIImage with a QR-code from NSString with just one line of code.

Services available

!
?

Need anything else?

Contributors list

iOS QR Code Encoder

This is an Objective-C library that helps to easily convert a UIImage with a QR-code from NSString with just one line of code. It uses qrencode to generate QR code and CoreGraphics to draw an image.

When integrating this solution to your project, please, spare us a like on Facebook, follow us on Twitter or spread a good word about us!

Feel free to get in touch with us in regards to any questions or cooperation requests via email [email protected].

Customization

To change the fill color you need to pass

fillColor
parameter in the method:
objc
+ (UIImage *)mdQRCodeForString:(NSString *)qrString size:(CGFloat)size fillColor:(UIColor *)fillColor;

Sample

    // image view is an instance of UIImageView
    imageView.image = [UIImage mdQRCodeForString:@"Hello, world!" size:imageView.bounds.size.width fillColor:[UIColor darkGrayColor]];

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.