Merge pull request #55 from tgezginis/master
Stop scanning when pressed the cancel button on iOS
This commit is contained in:
commit
5e360fc9da
|
@ -62,6 +62,7 @@
|
|||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
[self.scanner stopScanning];
|
||||
[super viewWillDisappear:animated];
|
||||
if ([self isFlashOn]) {
|
||||
[self toggleFlash:NO];
|
||||
|
|
Loading…
Reference in New Issue