Skip to content

Commit

Permalink
fix for barcode scanner not stopping
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Albertini committed Mar 20, 2017
1 parent 07485bd commit 4e61b57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/AnylineBarcodeScanViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ - (void)viewDidLoad {
[self.view sendSubviewToBack:self.moduleView];
});
}

- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];

self.moduleView.videoView.barcodeDelegate = nil;
}

#pragma mark - AnylineBarcodeModuleDelegate method

Expand Down

0 comments on commit 4e61b57

Please sign in to comment.