We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lazy var scanView: SGScanView = { let configure = SGScanViewConfigure() configure.isShowBorder = true configure.borderColor = .clear configure.cornerColor = .white configure.cornerWidth = 3 configure.cornerLength = 15 configure.isFromTop = true configure.scanline = "SGQRCode.bundle/scan_scanline_qq" configure.color = .clear let x = 0.0 // 明确指定为CGFloat let y = 0.0 // 明确指定为CGFloat let w = self.view.frame.size.width let h = self.view.frame.size.height let scanView = SGScanView(frame: CGRect(x: x, y: y, width: w, height: h), configure: configure) scanView?.startScanning() scanView?.scanFrame = CGRect(x: 0, y: 0, width: w, height: h) return scanView ?? SGScanView() }() 通过cocopods 集成没显示扫描线 能看看初始化有什么问题吗
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: