Is it possible to load a TextureResource (RealityKit) from a PHAsset (PhotoKit) without having to first write it to the app documents directory?

前端 未结 0 1358
抹茶落季
抹茶落季 2020-12-12 08:27

TextureResource only takes a URL to load a texture from an image. It won\'t accept image NSData directly.

PHImageManager will not give you a direct URL for an image,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题