X
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:-

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.





 

 

Related

Access Control in Swift 3

End of this blog you will be able to understand the Access control specifiers open, public,internal,...

Read More >

How to handle the exceptions using recovery scenario manager in QTP?

VB script Error HandlingDurning run time, if QTP encounters any erorr then it will display the error...

Read More >

Creating Apps Using Phonegap Framework in IOS

Creating apps for different operating system is not a reliability so for reducing developr work for ...

Read More >

Memory Management in iOS

Memory Management iOS In this blog we will walk through very important thing which all iOS developer...

Read More >

Implementing iOS Setting Bundle

 iOS Setting Bundle:-Actually sometimes we need to interact our app i.e giving some input value...

Read More >

Base64 encoding in Objective c

When we have some binary data that need to send across network, we generally don't do it by just...

Read More >

Wireless Ad-Hoc distribution for iOS apps

Creating Ad-Hoc is an important part of iOS app development because it helps us in testing the app d...

Read More >

How to Create a Provisioning profile for iOS

To Run an app on iOS device,you must have a Provisioning Profile installed on your device. ...

Read More >

How to check network reachability in iOS

What is network reachability? Now, you are all set to program your app on the ios device? Here is on...

Read More >

Share

Post a Comment

Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Text/HTML
Text/HTML
Contact Us
  • *
  • *