系统方法实现二维码扫描、识别和生成
这是用系统提供的二维码方法实现的,性能要比第三方好,
注意:一定要在plist中配置NSPhotoLibraryUsageDescription和NSPhotoLibraryUsageDescription
否则会崩溃提示:
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
和
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
下载地址:http://www.wenjiangs.com/wp-content/uploads/2021/docimg35/5740dc5a97c9b0e1a34cde943b44e6f8.zip
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论