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 34
34
97D1A8E92BA3757700FF1368 /* AWSAPIPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8E82BA3757700FF1368 /* AWSAPIPlugin */; };
35
35
97D1A8EB2BA3757700FF1368 /* AWSCognitoAuthPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8EA2BA3757700FF1368 /* AWSCognitoAuthPlugin */; };
36
36
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 */; };
38
37
/* End PBXBuildFile section */
39
38
40
39
/* Begin PBXContainerItemProxy section */
308
307
Base,
309
308
);
310
309
mainGroup = 9070FF97285112B4009867D5;
311
- packageReferences = (
312
- );
313
310
productRefGroup = 9070FFA1285112B4009867D5 /* Products */;
314
311
projectDirPath = "";
315
312
projectRoot = "";
328
325
files = (
329
326
973619262BA378690003A590 /* awsconfiguration.json in Resources */,
330
327
9070FFAB285112B5009867D5 /* Preview Assets.xcassets in Resources */,
331
- 97D1A8EF2BA375AA00FF1368 /* amplify-ui-swift-liveness in Resources */,
332
328
9070FFA8285112B5009867D5 /* Assets.xcassets in Resources */,
333
329
973619252BA378690003A590 /* amplifyconfiguration.json in Resources */,
334
330
);
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ final class _LivenessViewController: UIViewController {
52
52
setupAVLayer ( )
53
53
}
54
54
55
+ override func viewDidLayoutSubviews( ) {
56
+ previewLayer? . position = view. center
57
+ }
58
+
55
59
private func layoutSubviews( ) {
56
60
freshnessView. translatesAutoresizingMaskIntoConstraints = false
57
61
You can’t perform that action at this time.
0 commit comments