I'm trying to get my app to recognize .obj files for importing.
I've tried to follow the instructions in this WWDC video.
I've tried specifying as both an Imported UTI, and an Exported UTI. Neither causes the file to be openable in UIDocumentBrowserViewController (the document icon is grayed). I don't understand how my native document format is openable in the browser either. I've tried deleting and reinstalling the app from the device.
What am I missing? Why isn't this simple?
Here's what I've got:

It turns out iOS already knows about .obj files. On macOS, I ran the following:
mdls myfile.objWhich among other things shows:
So the UTI is
public.geometry-definition-format. I don't know if that already specifies the extension or is a more generic type.The following worked to make the files openable in
UIDocumentBrowserViewController:The UTI isn't declared in the documentation (what a surprise!), so I'd recommend using
mdlsto look up UTIs.