Post

Replies

Boosts

Views

Activity

AR Quick Look doesn't work in Swift Playgrounds
Hey everyone, I have a question regarding AR Quick Look, I have a simple view with an ARQLView showing a .usdz file of a Nike shoe. This code works perfectly fine on my iPad if I sideload the app using Xcode. The problem is, when I try to use the same code in Swift Playgrounds on the iPad, it gives the same view but with the "AR" mode grayed out, with the "Object" mode the only option. So I can pan and zoom the 3D model but I cannot see it in AR. Is this a limitation of Playgrounds, or is Playgrounds itself encountering a bug (which isn't uncommon in my experience). Screenshot of app sideloaded with Xcode, then Playgrounds: https://imgur.com/a/FCE0lYh
0
0
757
Mar ’23
Does anybody know how to get the new Swift Playgrounds on iPadOS 15?
I don’t seem to have the new features on my iPad Pro.
Replies
3
Boosts
0
Views
4.4k
Activity
Dec ’21
How do I calculate the distance from an real-life object to the device?
I was wondering how do you make a functionality similar to the People Detection feature in the Magnifier app, but I couldn’t find any documentation for finding out the distance from a device to a real-world object or person. Can anybody help?
Replies
0
Boosts
0
Views
644
Activity
Mar ’21
Is there a way to convert the data from ARDepthData into something like meters or centimeters?
Right now all I get printed from it are stuff like 0x12494932 or 0x23445839, which isn’t really usable data (or is it? I don’t really know). Is there a way to convert or receive the depth data in meters or centimeters instead?
Replies
2
Boosts
0
Views
1.1k
Activity
Apr ’21
AR Quick Look doesn't work in Swift Playgrounds
Hey everyone, I have a question regarding AR Quick Look, I have a simple view with an ARQLView showing a .usdz file of a Nike shoe. This code works perfectly fine on my iPad if I sideload the app using Xcode. The problem is, when I try to use the same code in Swift Playgrounds on the iPad, it gives the same view but with the "AR" mode grayed out, with the "Object" mode the only option. So I can pan and zoom the 3D model but I cannot see it in AR. Is this a limitation of Playgrounds, or is Playgrounds itself encountering a bug (which isn't uncommon in my experience). Screenshot of app sideloaded with Xcode, then Playgrounds: https://imgur.com/a/FCE0lYh
Replies
0
Boosts
0
Views
757
Activity
Mar ’23