diff --git a/ios/AnylineBarcodeScanViewController.m b/ios/AnylineBarcodeScanViewController.m index ccaa1b25..5af51fb9 100644 --- a/ios/AnylineBarcodeScanViewController.m +++ b/ios/AnylineBarcodeScanViewController.m @@ -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