SetUp ContentView.

This commit is contained in:
Maxime Delporte 2025-05-06 19:02:53 +02:00
parent 16ca93918d
commit 0190c52bd5
3 changed files with 12 additions and 7 deletions

View File

@ -400,6 +400,7 @@
DEVELOPMENT_TEAM = 4CQPKLYWJD; DEVELOPMENT_TEAM = 4CQPKLYWJD;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSCameraUsageDescription = "You need to allow the access to take pictures.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;
@ -428,6 +429,7 @@
DEVELOPMENT_TEAM = 4CQPKLYWJD; DEVELOPMENT_TEAM = 4CQPKLYWJD;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSCameraUsageDescription = "You need to allow the access to take pictures.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "6E7EEC2A-D680-4173-B42C-0D256E2D439E"
type = "1"
version = "2.0">
</Bucket>

View File

@ -8,14 +8,11 @@
import SwiftUI import SwiftUI
struct ContentView: View { struct ContentView: View {
@StateObject private var model = FrameHandler()
var body: some View { var body: some View {
VStack { FrameView(image: model.frame)
Image(systemName: "globe") .ignoresSafeArea()
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
} }
} }