Added a couple of extra null checking mechanisms because sometimes a NullReferenceException is thrown on iOS when switching back-and-fort to a page with the barcode scanner.
Stacktrace:
System.NullReferenceException: Arg_NullReferenceException
in void BarcodeView.LayoutSubviews()
in int UIApplication.UIApplicationMain(int, string[], IntPtr, IntPtr)
in void UIApplication.Main(string[], Type, Type)
in void Application.Main(string[] args)
Added a couple of extra null checking mechanisms because sometimes a
NullReferenceException
is thrown on iOS when switching back-and-fort to a page with the barcode scanner.Stacktrace: