Post

Replies

Boosts

Views

Activity

Reply to MapPolygon
Pretty sure hit testing with a MapReader proxy is the way to go: Something like: MapReader { proxy in Map(initialPosition: cameraPosition) { MapPolygon(polygon) .stroke(.purple.opacity(0.5), lineWidth: 5) .foregroundStyle(isSelected ? .purple.opacity(0.2) : .clear) } .onTapGesture { tapPoint in if let coordinate = proxy.convert(tapPoint, from: .local) { let renderer = MKPolygonRenderer(polygon: polygon) let mapPoint = MKMapPoint(coordinate) let rendererPoint = renderer.point(for: mapPoint) if renderer.path.contains(rendererPoint) { isSelected.toggle() } } } }
Feb ’25
Reply to Human pose detection failing on Vision Pro
The sample you referenced lists iOS 17.0+, iPadOS 17.0+, and Xcode 15.0+ as the requirements for success. And, while the Mac maybe able to access the API available to iPadOS, it looks like an iPad app in visionOS or even this project with a native visionOS target may not. I’d file a feedback that this is broken.
Topic: Spatial Computing SubTopic: ARKit Tags:
Mar ’25
Reply to Xcode 15.1 Release Candidate
According to the release notes: “For development with the visionOS 1 SDK, continue to use Xcode 15.1 beta 3.”
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to VisionOS no longer available after macOS update
Can you download previous versions of the tools at https://developer.apple.com/download/all/ ? Your software update probably included the current Xcode, which does not support intel.
Replies
Boosts
Views
Activity
Jan ’24
Reply to Generating HUD (Heads Up Display) within VisionOS on VisionPro
Adding an SwiftUI view as an attachment in a RealityView should get you the UI you need. A previous response recommended an approach to positioning.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Using WKWebKit and Safari on visionOS
What URL are you loading? I don't see the button when I load https://www.apple.com.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Apple Vision Pro - Point Cloud Rendering
Could each point be a sphere with a fractional radius?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Unable to rotate RealityView model via DragGesture
Did you add collision support in Reality Composer Pro? Otherwise I'd add: entity.generateCollisionShapes(recursive: false) entity.components.set(InputTargetComponent()) ...before adding it to your content.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Opening front camera on Vision Pro
Capturing a live feed off the cameras is not available in visionOS for privacy reasons.
Replies
Boosts
Views
Activity
Apr ’24
Reply to Xcode-beta 16 - Can't start app. "Loading a plug-in failed"
Found it easier to just install beta 2 , launch it, then install beta 3. Not sure why they have to make it so complicated.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Integrating Apple Watch Health Data with Vision Pro
Health data is shared with Apple Vision Pro in visionOS 2.0. Check out the WWDC session https://developer.apple.com/wwdc24/10083
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Can I use maps screenshots with clickable markers in my app?
Using the Snapshot API to grab the image is the best way to ensure that you're getting the highest quality image for a given device and one that includes any required Apple branding.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Accessing front cameras stream of the Vision Pro
Check out https://developer.apple.com/wwdc24/10139
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to MapPolygon
Pretty sure hit testing with a MapReader proxy is the way to go: Something like: MapReader { proxy in Map(initialPosition: cameraPosition) { MapPolygon(polygon) .stroke(.purple.opacity(0.5), lineWidth: 5) .foregroundStyle(isSelected ? .purple.opacity(0.2) : .clear) } .onTapGesture { tapPoint in if let coordinate = proxy.convert(tapPoint, from: .local) { let renderer = MKPolygonRenderer(polygon: polygon) let mapPoint = MKMapPoint(coordinate) let rendererPoint = renderer.point(for: mapPoint) if renderer.path.contains(rendererPoint) { isSelected.toggle() } } } }
Replies
Boosts
Views
Activity
Feb ’25
Reply to JavaScriptCore crashed in iOS 17 and iOS 18
I’d recommend you file this as a bug via Feedback Assistant. Be sure to include your crash log and attach a sysdiagnose. You app shouldn’t ever crash as a result of JavaScript.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to VNDetectHumanBodyPose3DRequest failing on Vision Pro
The sample you referenced lists iOS 17.0+, iPadOS 17.0+, and Xcode 15.0+ as the requirements for success. And, while the Mac maybe able to access the API available to iPadOS, it looks like an iPad app in visionOS or even this project with a native visionOS target may not. I’d file a feedback that this is broken.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Human pose detection failing on Vision Pro
The sample you referenced lists iOS 17.0+, iPadOS 17.0+, and Xcode 15.0+ as the requirements for success. And, while the Mac maybe able to access the API available to iPadOS, it looks like an iPad app in visionOS or even this project with a native visionOS target may not. I’d file a feedback that this is broken.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’25