Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCodeSample

An easy application for create and scan QR code on iOS using Xamarin.iOS

You can create a QRCode by using this code:

UIimage qrCodeImage = QRCodeCreater.Instance().GetQRCodeImageByString(sourceStr,showQRCodeImgView.Frame.Width);

And you can scan a QRCode by using the Extension Methods in every UIViewController like:

this.ShowQRCodeReaderViewController((result)=>{
	  UIAlertView alert = new UIAlertView("Result",result,null,"OK",null);
	  alert.Show();
	});

Or the origin method, like:

QRCodeReaderViewController.Intance().Show(controller.NavigationController,(result)=>{
	  UIAlertView alert = new UIAlertView("Result",result,null,"OK",null);
	  alert.Show();
	});

This are some screenshot showing the effect:

Generate a image:

Scanning:

Result pop up:

About

An easy application for create and scan QR code on iOS using Xamarin.iOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages