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 info@moqod.com.
To change the fill color you need to pass fillColor
parameter in the method:
+ (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]];
MIT