- mariorancic
- Posts: 23
- Joined:
Re: barcode scanner
There is also other approach to the problem and is to show the camera from Swift code, but the question is how to call native Swift function from Noesis c# code and is it possible .
- mariorancic
- Posts: 23
- Joined:
Re: barcode scanner
I finally found solution, actually , one friend helped me. The trick was to do this on button click or in ViewModel:
UIApplication.SharedApplication.KeyWindow.RootViewController.PresentViewController(viewController, true, null);
This way Noesis stuff stays in background and Xamarin.IOS stuffs are on top of it, and once barcode scanning is done , I am back to main Noesis app.
UIApplication.SharedApplication.KeyWindow.RootViewController.PresentViewController(viewController, true, null);
This way Noesis stuff stays in background and Xamarin.IOS stuffs are on top of it, and once barcode scanning is done , I am back to main Noesis app.
Re: barcode scanner
Great! Glad to know you solved it : )
Re: barcode scanner
When it comes to managed NoesisGui, you have the option to use C# for the integration, which can make the process smoother and more efficient.
Who is online
Users browsing this forum: No registered users and 54 guests