From 17eb2e85f58e102839c70316d3515ca32adb5f86 Mon Sep 17 00:00:00 2001 From: Dan-YY Date: Wed, 26 Jan 2022 11:20:55 -0800 Subject: [PATCH] Modify FaceCaptureController line 327 view.bounds to self.view.bounds for Flutter compiler --- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ .../AcuantFaceCapture/FaceCaptureController.swift | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 AcuantFaceCapture/AcuantFaceCapture.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/AcuantFaceCapture/AcuantFaceCapture.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/AcuantFaceCapture/AcuantFaceCapture.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/AcuantFaceCapture/AcuantFaceCapture.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/AcuantFaceCapture/AcuantFaceCapture/FaceCaptureController.swift b/AcuantFaceCapture/AcuantFaceCapture/FaceCaptureController.swift index d86723e..1720e2a 100644 --- a/AcuantFaceCapture/AcuantFaceCapture/FaceCaptureController.swift +++ b/AcuantFaceCapture/AcuantFaceCapture/FaceCaptureController.swift @@ -324,7 +324,7 @@ public class FaceCaptureController: UIViewController { } func createSemiTransparentOverlay() -> UIView { - let view = UIView(frame: view.bounds) + let view = UIView(frame: self.view.bounds) view.backgroundColor = UIColor.black.withAlphaComponent(0.1) return view }