In a traditional UIWebview, we can easily inject javascript into the web page loaded within the web view.
Is there a way to do this in SFSafariViewController?
SFSafariViewController works great for my needs because it can access cookies and I need this to allow an already authenticated user to access a web site. But my native iOS app has to be able to fill in form fields within the loaded web page. The native app will be responsible for launching the device camera and scanning a barcode, then injecting the barcode text back into specific field on the web page. I can easily do this if I can just inject javascript into the Safari View.
Any thoughts? Is this something that is restricted? I cannot find any info on this.
thanks