-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Need to stop reading #1
Comments
Thank you for using my framework. You need to remove [qrCodeView startReading]; method from "M2" QRCodeReaderDelegate method. i.e. UIAlertAction *cancel = [UIAlertAction actionWithTitle:@"Close" style:UIAlertActionStyleDefault handler:nil]; UIAlertAction *reScan = [UIAlertAction actionWithTitle:@"Rescan" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { [qrCodeView startReading]; // Remove this line}]; When the view disappears you need to put this code If you still facing any issue or any scenario please let me know, |
Thank you for your reply. However, this is not helping too much. I got this working by destroying the component when the view will disappear. But unfortunately I had to use a different framework, because this was build only for arm64 architecture and I needed for armv7 and armv7s too and there was no reply from your side for some time. |
Ok |
Good job with this reader.
However, there only a method to start reading, but not to stop.
I am using it in a UITabBarController and if I change the tab, it will still read. I need to stop it when the view disappears.
Thank you
The text was updated successfully, but these errors were encountered: