This is an Objective-C library that helps to easily convert a UIImage with a QR-code from NSString w...
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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.
Feel free to get in touch with us in regards to any questions or cooperation requests via email [email protected].
To change the fill color you need to pass
fillColorparameter in the method:
objc + (UIImage *)mdQRCodeForString:(NSString *)qrString size:(CGFloat)size fillColor:(UIColor *)fillColor;
// image view is an instance of UIImageView imageView.image = [UIImage mdQRCodeForString:@"Hello, world!" size:imageView.bounds.size.width fillColor:[UIColor darkGrayColor]];