Post

Replies

Boosts

Views

Activity

Reply to SceneView with .frame() turns black
There is a small mistake in my source code and I can't edit it. It should be like this instead: var body: some View { SceneView( scene: simpleScene, options: [.allowsCameraControl, .autoenablesDefaultLighting] ) .frame(maxWidth: .infinity, maxHeight: 312.6) }
Topic: UI Frameworks SubTopic: SwiftUI
Jan ’25