Flat 10% off on the purchase of any two apps or more. Use coupon code - FESTIVAL10
Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Owner and Founder. Opencart
Hi Guyz , Hope you guyz have implemented QR Code functionality into your project on which we have discussed in my last post.
If not then visit :- https://mobikul.com/swift-qr-code-scanner-generator/
Now , after scanning and generating the code , sometimes we need to scan the code from the image in our iOS photo library. This feature doesn’t require any third party library as its available in AVFoundation.
AV Foundation is the full featured framework for working with time-based audiovisual media on iOS, macOS, watchOS and tvOS. Using AV Foundation, you can easily play, create, and edit QuickTime movies and MPEG-4 files, play HLS streams, and build powerful media functionality into your apps.
To scan a code from the image available in gallery Follow these steps:-
CIDetecter is an image processor that identifies notable features (such as faces and barcodes) in a still image or video.
Your overall code will be :-
Lets dive into the code we have just implemented inside the delegate function
2. Converted the selected image into CIImage
3. Detect the encoded information from the image using the detecter.
4. Now the qrCodeLink is the String which represents the decoded information from the QRCode (a message or may be a url).
That all Folks , now you have the decoded information from the image containing your QRCode.
Enjoy and comment if you have any issue.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.