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
if (metadataObjects.count > 0) { // [self.session stopRunning]; AVMetadataMachineReadableCodeObject * metadataObject = metadataObjects.firstObject; if (self.returnScanBarCodeValue) { self.returnScanBarCodeValue(metadataObject.stringValue); if (self.navigationController) { [self.navigationController popViewControllerAnimated:YES]; } else { [self dismissViewControllerAnimated:YES completion:nil]; } } } 在调用block之前把session停止了之后扫描得到的值有时候无法在我这边的UI上刷新,注释掉才行,作者可以看看是不是注释掉会更好,ARC情况下dismiss之后这个VC也会自动释放,应该不需要刻意去停止了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if (metadataObjects.count > 0) {
// [self.session stopRunning];
AVMetadataMachineReadableCodeObject * metadataObject = metadataObjects.firstObject;
if (self.returnScanBarCodeValue) {
self.returnScanBarCodeValue(metadataObject.stringValue);
if (self.navigationController) {
[self.navigationController popViewControllerAnimated:YES];
} else {
[self dismissViewControllerAnimated:YES completion:nil];
}
}
}
在调用block之前把session停止了之后扫描得到的值有时候无法在我这边的UI上刷新,注释掉才行,作者可以看看是不是注释掉会更好,ARC情况下dismiss之后这个VC也会自动释放,应该不需要刻意去停止了
The text was updated successfully, but these errors were encountered: