Post

Replies

Boosts

Views

Activity

Comment on App crashes after requesting PhotoLibrary limited access
Thanks for the reply! I actually figure out what happens here. As the debugger said: 'Presentations are not permitted within volumetric window scenes.' When I ask for PH permissions, I also open an immersiveSpace, therefore I have two scenes both open. I know that volumetric view won't display system pop out sheet (simply it cannot), and nor does an immersiveSpace. Volumetric window scenes also includes ImmersiveSpace for sure.
Topic: Spatial Computing SubTopic: General Tags:
Jan ’25
Comment on How to extracted stereo image pair from generated spatial photos by visionOS 2.0
hiiiii I am using your method to findout leftindex and rightindex here. But this function failed at Check for any groups. It's working for native Spatial Photos, but not for generated photos. The only difference between me and kevin_wang is, hes using imagePicker to fetch imageItem but me using PHImageManager.default().requestImageDataAndOrientation to request imageSource. Would that make any difference?
Topic: Spatial Computing SubTopic: General Tags:
May ’25
Comment on Cannot extract imagePair from generated Spatial Photos
Another possible aspect about this issue is that I use PHCachingImageManager()/PHImageManager.default() to retrieve/request this photo. And this photo was previously a 2D photo. Is it possible that this manager caches this photo somewhere (OS level) and I may not yet request the correct converted 3D asset? If so, how to force refreshing the cache then?
Topic: Spatial Computing SubTopic: General Tags:
May ’25
Comment on App crashes after requesting PhotoLibrary limited access
Thanks for the reply! I actually figure out what happens here. As the debugger said: 'Presentations are not permitted within volumetric window scenes.' When I ask for PH permissions, I also open an immersiveSpace, therefore I have two scenes both open. I know that volumetric view won't display system pop out sheet (simply it cannot), and nor does an immersiveSpace. Volumetric window scenes also includes ImmersiveSpace for sure.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on AudioPlaybackController stop playing when .plain window is closed
done, please check FB16308928
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on Dynamically assigning texture resource to ShaderGraphMaterial on VisionOS
Thanks for your response! It's definitely working. I thought I should set "FileName" as String parameter in that case. Also I got another question, from code level, why it has to be a ModelComponent to access materials? I mean as an Entity it's not necessary to be collidable or to be a rigidbody right? Or there were other stuff I am missing?
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on CloudKit settings when transferring my App to another account
Thanks! So for UbiquitousKVStore, theoretically if I called synchronize() every time I shouldn't worry about CloudKV data right? What about custom container, CloudKit - CoreData, do I need to manually synchronize it? Say context.save() would sync to the cloud immediately rather than iCloudKV's "lazy strategy" right?
Replies
Boosts
Views
Activity
Mar ’25
Comment on How to extracted stereo image pair from generated spatial photos by visionOS 2.0
hiiiii I am using your method to findout leftindex and rightindex here. But this function failed at Check for any groups. It's working for native Spatial Photos, but not for generated photos. The only difference between me and kevin_wang is, hes using imagePicker to fetch imageItem but me using PHImageManager.default().requestImageDataAndOrientation to request imageSource. Would that make any difference?
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25
Comment on Cannot extract imagePair from generated Spatial Photos
Hi thanks for the response, this is the link, this is the one I airdrop (with all options toggled) to my mac. And I can see it shows "spatial" on my iPhone 15 https://drive.google.com/file/d/1ggzejg-mszCM_dpxANU5U80chlcLqATb/view?usp=drive_link
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25
Comment on Cannot extract imagePair from generated Spatial Photos
Another possible aspect about this issue is that I use PHCachingImageManager()/PHImageManager.default() to retrieve/request this photo. And this photo was previously a 2D photo. Is it possible that this manager caches this photo somewhere (OS level) and I may not yet request the correct converted 3D asset? If so, how to force refreshing the cache then?
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25
Comment on Cannot extract imagePair from generated Spatial Photos
Thanks for the response! I figure that myself. It turns that the I would request .current version of PHAsset in PHImageRequestOptions. I use .original before, but I guess the converted spatial photo should be using .current because the original photo is a .jpeg, which cannot be spatial photo wrapper format (heic did).
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25