Skip to main content
Filter by
Sorted by
Tagged with
9 votes
2 answers
6k views

How do I connect my Vision Pro to Xcode for development on my Mac?

How do I connect my Vision Pro to Xcode for development on my Mac?
SushiGrass Jacob's user avatar
9 votes
2 answers
3k views

What is the difference between Model3D and RealityView in visionOS?

I think RealityView should be able to do more fancy stuffs, but I still want to figure out the exact differences between them. For now, they are just too similar to each other, e.g. they both need an ...
P. Tsin's user avatar
  • 557
8 votes
2 answers
6k views

How to create multiple windows in a SwiftUI app for visionOS?

I'm working on a SwiftUI app for visionOS and I'd like to support multiple windows in my app to enhance the user experience. However, I couldn't find specific documentation or examples on how to ...
János's user avatar
  • 34.8k
7 votes
2 answers
2k views

Detect gesture in immersive space VisionOs SwiftUI

I have an immersive space that I want to add a gesture recognizer to. I want the ability to detect a pinch / tap gesture anywhere in the immersive space. ImmersiveSpace(id: "FlappyImmersiveSpace&...
Ari Jain's user avatar
6 votes
9 answers
4k views

How to check if device is Vision Pro - Xcode 15 Beta 4

I have a video analysis app and i'm trying to make it compatible with visionOS. It crashes because camera is not allowed; Apple only allows to import videos from Photos. So I would need to check on ...
CarlosBF's user avatar
  • 624
6 votes
3 answers
5k views

How to set size of WindowGroup in visionOS?

I want to set the dimensions of a WindowGroup to a specific size when running on visionOS. On iOS and maOS we have the .defaultSize modifier for that. When building for visionOS, Xcode offers a ...
ixany's user avatar
  • 5,941
6 votes
2 answers
3k views

How do I get the window size in visionOS?

Is there something similar to UIScreen.main.bounds on visionOS? I have some code that depends on the screen size and using a hard coded value for it doesn’t really work out unfortunately.
Mitemmetim's user avatar
5 votes
2 answers
3k views

How can a Model be anchored above the user's Head in visionOS?

Let's say for example, I want to anchor a cloud above the user's head. I know that AnchorEntity exists and that you can get a reference to the user's head with AnchorEntity(.head). But how do I ...
swiftyboi's user avatar
  • 3,241
5 votes
3 answers
3k views

How to know user's position in Surrounding Space in visionOS

Working on user position tracking in visionOS within Immersive Space. Any insights or tips to navigate this? Docs seem elusive at the moment. I searched and found queryPose but Xcode throws error. ...
adrD's user avatar
  • 78
5 votes
1 answer
868 views

How to remove embedded content built for iOS platform from xrOS target?

I tried to build my iOS target for visionOS and get the following error: Your target is built for xrOS but contains embedded content built for the iOS platform (Ploppy Pairs Clip.appex), which is not ...
Mitemmetim's user avatar
5 votes
2 answers
549 views

RealityKit Systems Not Ticking Every Frame on visionOS

Please see also the video demo of the problem I'm encountering: https://youtu.be/V0ZkF-tVgKE I've noticed that the custom Systems I've been creating for my RealityKit/visionOS app do not get updated ...
Jason RT Bond's user avatar
5 votes
2 answers
795 views

How to make an object fall to the ground?

I'm quite new to Swift and visionOS. I was following this simple tutorial where an object is added to the scene and then applied some physics. However, as you can see in the image (using the simulator)...
Antonio's user avatar
  • 11.5k
4 votes
3 answers
2k views

How to customize hover effect region in visionOS

In the Design for spatial user interfaces WWDC video around 13:00 Apple states the following in regards to hover effects: As you're designing a lock-up, include a shape that will allow the system to ...
Jordan H's user avatar
  • 55k
4 votes
2 answers
651 views

Reacting to eye hover in Reality kit and VisionOS

I know that all swiftUI views and buttons can react to where the user is looking in visionOS, but I'd like to do the same thing with entities in RealityKit, so users know what they are looking at. I ...
Toby Evetts's user avatar
4 votes
2 answers
1k views

Vision Pro window that follows me

With Vision Pro, if you look up, there is a button that opens a view for selecting apps, control panel, and others. This button will follow you as you move around a room. I want to program a window in ...
Agilepap's user avatar

15 30 50 per page
1
2 3 4 5
25