File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
HostApp/HostApp.xcodeproj
Sources/FaceLiveness/Views/Liveness Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434 97D1A8E92BA3757700FF1368 /* AWSAPIPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8E82BA3757700FF1368 /* AWSAPIPlugin */; };
3535 97D1A8EB2BA3757700FF1368 /* AWSCognitoAuthPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8EA2BA3757700FF1368 /* AWSCognitoAuthPlugin */; };
3636 97D1A8ED2BA3757700FF1368 /* Amplify in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8EC2BA3757700FF1368 /* Amplify */; };
37- 97D1A8EF2BA375AA00FF1368 /* amplify-ui-swift-liveness in Resources */ = {isa = PBXBuildFile; fileRef = 97D1A8EE2BA375AA00FF1368 /* amplify-ui-swift-liveness */; };
3837/* End PBXBuildFile section */
3938
4039/* Begin PBXContainerItemProxy section */
308307 Base,
309308 );
310309 mainGroup = 9070FF97285112B4009867D5;
311- packageReferences = (
312- );
313310 productRefGroup = 9070FFA1285112B4009867D5 /* Products */;
314311 projectDirPath = "";
315312 projectRoot = "";
328325 files = (
329326 973619262BA378690003A590 /* awsconfiguration.json in Resources */,
330327 9070FFAB285112B5009867D5 /* Preview Assets.xcassets in Resources */,
331- 97D1A8EF2BA375AA00FF1368 /* amplify-ui-swift-liveness in Resources */,
332328 9070FFA8285112B5009867D5 /* Assets.xcassets in Resources */,
333329 973619252BA378690003A590 /* amplifyconfiguration.json in Resources */,
334330 );
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ final class _LivenessViewController: UIViewController {
5252 setupAVLayer ( )
5353 }
5454
55+ override func viewDidLayoutSubviews( ) {
56+ previewLayer? . position = view. center
57+ }
58+
5559 private func layoutSubviews( ) {
5660 freshnessView. translatesAutoresizingMaskIntoConstraints = false
5761
You can’t perform that action at this time.
0 commit comments