Post

Replies

Boosts

Views

Activity

Reply to VisionOS app UX/UI for showing hiding the main window
The X button is for closing your App. You can control the hidden logic for your view Example Check "The Solar System" scene in the sample project Hello World. A NavigationStack View will show in default: Click the "View Outer Space" button to trigger the full immersive mode and then the NavigationStack View is hidden: The NavigationStack View will return after you click the "Exit the Solar System" button. How to do? This can be implemented by the .opacity modifier in SwiftUI. The "Hello World" sample uses the model.isShowingSolar to control the view's hidden state. // The main navigation element for the app. NavigationStack(path: $model.navigationPath) { TableOfContents() .navigationDestination(for: Module.self) { module in ModuleDetail(module: module) .navigationTitle(module.eyebrow) } } .opacity(model.isShowingSolar ? 0 : 1) Try it
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to Can't find WorldSensingUsageDescription
Just directly add "NSWorldSensingUsageDescription" as a string key type to your 'info.plist' But the "WorldSensing" feature of ARKit in visionOS is not working when you use the Simulator. print("SceneReconstructionProvider: \(SceneReconstructionProvider.isSupported)") // false print("WorldTrackingProvider: \(WorldTrackingProvider.isSupported)") // true print("PlaneDetectionProvider: \(PlaneDetectionProvider.isSupported)") // false print("HandTrackingProvider: \(HandTrackingProvider.isSupported)") // false print("ImageTrackingProvider: \(ImageTrackingProvider.isSupported)") // false
Topic: Spatial Computing SubTopic: ARKit Tags:
Aug ’23
Reply to controls broken after beta 6 install
My Issue I have the same issue after I downgrade the Xcode 15 from beta 6 to beta 5. The control panel is gone and all the features of 'Device' in the menu bar are disabled in the Simulator.app (Version 1014): But looks normal in Simulator.app (Version 1015): Workaround Make sure you run the Simulator.app (Version 1015) before you build your project. You can locate it through 'SpotLight'.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to Unable to Access MeshClassification from MeshAnchor—visionOS.
Been there. It seems like that the classification API is not expose to public yet ...
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to VisionOS app UX/UI for showing hiding the main window
The X button is for closing your App. You can control the hidden logic for your view Example Check "The Solar System" scene in the sample project Hello World. A NavigationStack View will show in default: Click the "View Outer Space" button to trigger the full immersive mode and then the NavigationStack View is hidden: The NavigationStack View will return after you click the "Exit the Solar System" button. How to do? This can be implemented by the .opacity modifier in SwiftUI. The "Hello World" sample uses the model.isShowingSolar to control the view's hidden state. // The main navigation element for the app. NavigationStack(path: $model.navigationPath) { TableOfContents() .navigationDestination(for: Module.self) { module in ModuleDetail(module: module) .navigationTitle(module.eyebrow) } } .opacity(model.isShowingSolar ? 0 : 1) Try it
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to In visionOS, Can I make sure that unselected apps don't become translucent?
You can click the X button on the window's bottom to close it.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to xcode 15 beat 6 vision Pro 模拟器底部没有调整点击,选择,距离等的指示器了
Check your Simulator's version, check this answer for more detail. https://developer.apple.com/forums/thread/735538?answerId=761693022#761693022
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Can't find WorldSensingUsageDescription
Just directly add "NSWorldSensingUsageDescription" as a string key type to your 'info.plist' But the "WorldSensing" feature of ARKit in visionOS is not working when you use the Simulator. print("SceneReconstructionProvider: \(SceneReconstructionProvider.isSupported)") // false print("WorldTrackingProvider: \(WorldTrackingProvider.isSupported)") // true print("PlaneDetectionProvider: \(PlaneDetectionProvider.isSupported)") // false print("HandTrackingProvider: \(HandTrackingProvider.isSupported)") // false print("ImageTrackingProvider: \(ImageTrackingProvider.isSupported)") // false
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to visionOS 1.0 Simulator Black Screen
Please provide more detail. e.g. The version of the simulator, Xcode, etc. Otherwise, I can't reproduce your issue and solve it.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode Version 15.0 beta 5 (15A5209g)无法使用vision pro运行现有的项目
Making the 'Minimum Deployments' to iOS 13.0 will solve this issue.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to controls broken after beta 6 install
My Issue I have the same issue after I downgrade the Xcode 15 from beta 6 to beta 5. The control panel is gone and all the features of 'Device' in the menu bar are disabled in the Simulator.app (Version 1014): But looks normal in Simulator.app (Version 1015): Workaround Make sure you run the Simulator.app (Version 1015) before you build your project. You can locate it through 'SpotLight'.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23