Canarys | IT Services


iOS qrcode generator


Have you heard of QR Codes yet? Here is a quick introduction:-

QR is short for Quick Response . It is used to take a piece of information from a transitory media and put it in to your cell phone.It is  more useful because it can store much more data, including url links, geo coordinates, and text.There are number of way to genarate QR Code in iOS.Here is one of them:-

 Process of libqrencode integration-

You can get libqrencode library from this link:

Add libqrencode files into project  and please make sure it contains all the files which is  below:-

encoder files

Add QRCodeGenerator.h and QRCodeGenerator.m files into your project folder.

In your class file(.h) declare this:-

#import “QRCodeGenerator.h”

Here you can get encodedQrCode data in .m class:-

[QRCodeGenerator qrImageForString:@”String need to paas here” imageSize:keycardactualimageview.bounds.size.width];

It returns the image which you can set the background of your own defined UIImageView.

Leave a Reply

Your email address will not be published. Required fields are marked *

Reach Us

With Canarys,
Let’s Plan. Grow. Strive. Succeed.