I’ve a UIViewController based mostly on this code, which accurately exhibits the digicam preview when that controller is pushed by the navigation controller.
For instance, this works completely – every thing shows accurately
viewController?.navigationController?.pushViewController(qrScannerViewController!, animated: true)
However this performance actually is modal, it should not be navigation, however reasonably a modal pop-up, for the consumer to perform one particular job.
So I attempt the next, and every thing seems to be nice – other than no digicam preview!
viewController?.current(qrScannerViewController!, animated: true)
The digicam remains to be working, it could actually nonetheless seize QR codes – however I am unable to see something..
What’s the distinction?
What am I doing mistaken?
How can I repair this silly problem?