Post

Replies

Boosts

Views

Activity

Reply to Liquid Glass Interaction Bug
Thanks for your reply. Yes, the issue is present in a minimal test project. Here is the full code to demonstrate the bug: import SwiftUI @main struct BugDemoApp: App { var body: some Scene { WindowGroup { NavigationStack { List { } .toolbar { ToolbarItem(placement: .bottomBar) { Button { } label: { Image(systemName: "apple.logo") } } } } } } } This behavior is also visible in system apps, for example in Notes and Reminders.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’25
Reply to SceneKit or RealityKit for Non-AR Game Development
Hi again everyone, I searched through the documentation and found that the content in RealityView can be of type RealityViewContent for visionOS or RealityViewCameraContent for iOS and macOS. The latter has a camera property that can be set to virtual. Here's the code I came up with. import SwiftUI import RealityKit struct ContentView: View { var body: some View { RealityView { content in content.camera = .virtual } } } This sets the camera mode to virtual, which I believe should disable AR features. However, since this is a beta version and the documentation isn't entirely clear, I’m not completely sure if this is the right solution, so please don't rely solely on my code. Thanks again everyone!
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jun ’24
Reply to Gestures not working correctly when setting the fov orientation to .horizontal
this issue also occurs when using an orthographic camera
Replies
Boosts
Views
Activity
2w
Reply to Liquid Glass Interaction Bug
Thanks for your reply. Yes, the issue is present in a minimal test project. Here is the full code to demonstrate the bug: import SwiftUI @main struct BugDemoApp: App { var body: some Scene { WindowGroup { NavigationStack { List { } .toolbar { ToolbarItem(placement: .bottomBar) { Button { } label: { Image(systemName: "apple.logo") } } } } } } } This behavior is also visible in system apps, for example in Notes and Reminders.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to #BringBackSceneKit
SceneKit didn’t need to be replaced.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Alternatives to SceneView
import SwiftUI import RealityKit struct ContentView: View { var body: some View { RealityView { content in content.camera = .virtual // content.add(entity) } .realityViewCameraControls(.orbit) } }
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to RealityKit Crash with Orthographic Camera
previews_diagnostics_summary.txt
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to SceneKit or RealityKit for Non-AR Game Development
Hi again everyone, I searched through the documentation and found that the content in RealityView can be of type RealityViewContent for visionOS or RealityViewCameraContent for iOS and macOS. The latter has a camera property that can be set to virtual. Here's the code I came up with. import SwiftUI import RealityKit struct ContentView: View { var body: some View { RealityView { content in content.camera = .virtual } } } This sets the camera mode to virtual, which I believe should disable AR features. However, since this is a beta version and the documentation isn't entirely clear, I’m not completely sure if this is the right solution, so please don't rely solely on my code. Thanks again everyone!
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Jun ’24