GithubHelp home page GithubHelp logo

abcmx2014 / lbxscan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mxabc/lbxscan

0.0 2.0 0.0 1.14 MB

二维码、扫码、扫一扫、ZXing和ios系统自带扫码封装,扫码界面效果封装

License: MIT License

Objective-C 99.69% Ruby 0.06% C 0.24%

lbxscan's Introduction

ios 二维码、条形码 objective-c 版本

Swift Version

对应的swift版本请看 : swiftScan

介绍

iOS扫码封装 objective-c版本 封装ios系统API和ZXing

  • 扫码界面效果封装
  • 二维码、条形码
  • 相册获取图片后识别

模仿其他app

  • 模仿QQ扫码界面
  • 支付宝扫码框效果
  • 微信扫码框效果

其他设置参数自定义效果

  • 扫码框周围区域背景色可设置
  • 扫码框颜色可也设置
  • 扫码框4个角的颜色可设置、大小可设置
  • 可设置只识别扫码框内的图像区域
  • 可设置扫码成功后,获取当前图片
  • 动画效果选择: 线条上下移动、网格形式移动、中间线条不移动(一般扫码条形码的效果)
  • 如果好用请帮忙右上角 star 支持一下

安装

Installation with CocoaPods

platform :ios, '6.0'
pod 'LBXScan',:git=>'https://github.com/MxABC/LBXScan.git'

手动安装

下载后将LBXScan文件夹copy到工程中 添加预编译 pch文件 (如何添加请百度) 并在其中添加

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

否则编译会报许多错误

Demo测试

  • xcode版本:xcode7.1
  • 将工程下载下来,打开DemoTests中 LBXScanDemo.xcodeproj

界面效果

(加载速度慢,可刷新网页)

image image image image image image image image image image image image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.