22May
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:-
#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.
Related
End of this blog you will be able to understand the Access control specifiers open, public,internal,...
Read More >
VB script Error HandlingDurning run time, if QTP encounters any erorr then it will display the error...
Read More >
Creating apps for different operating system is not a reliability so for reducing developr work for ...
Read More >
Memory Management iOS In this blog we will walk through very important thing which all iOS developer...
Read More >
iOS Setting Bundle:-Actually sometimes we need to interact our app i.e giving some input value...
Read More >
When we have some binary data that need to send across network, we generally don't do it by just...
Read More >
Creating Ad-Hoc is an important part of iOS app development because it helps us in testing the app d...
Read More >
To Run an app on iOS device,you must have a Provisioning Profile installed on your device. ...
Read More >
What is network reachability? Now, you are all set to program your app on the ios device? Here is on...
Read More >
Share