FaceScanCameraView
struct FaceScanCameraView : UIViewControllerRepresentable
FaceScanCameraView
- Description: This class is a wrapper for FaceScannerController.
-
The controller to be wrapped.
Declaration
Swift
var controller: FaceScannerController
-
makeUIViewController
- Description: Creates and returns an instance of FaceScannerController.
Declaration
Swift
func makeUIViewController(context: Context) -> FaceScannerController
Parameters
context
The context of the view.
Return Value
An instance of FaceScannerController.
-
updateUIViewController
- Description: Updates the view controller with the latest changes.
Declaration
Swift
func updateUIViewController(_ uiViewController: FaceScannerController, context: Context)
Parameters
uiViewController
The view controller to be updated.
context
The context of the view.