Writes a binary representation of the object to the specified file URL.
- iOS 12.0+
The file URL at which to write the reference object data.
A thumbnail image to be embedded in the reference object's filesystem representation.
ARKit ignores preview images when loading reference objects. Instead, this image helps make reference object files visually identifiable in external tools like Xcode, Finder, and Quick Look.
true if the operation succeeded. If
false, check the
error parameter for failure details.
After exporting a reference object from your object-scanning app to a file, you can bundle that reference object into other apps you create by inserting it into an Xcode asset catalog.