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:-https://github.com/JohnSlaughter/Mac-QR-Code-Encoder/tree/master/Mac-QR-Code-Encoder/libqrencode
Add libqrencode files into project and please make sure it contains all the files which is below:-
Add QRCodeGenerator.h and QRCodeGenerator.m files into your project folder.
In your class file(.h) declare this:-
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.