set UTI on a file

How do I set UTI on a file so that my application can handle it when user opens the file.

Replies

Is it a custom file type or are you trying to do this with one of the standard UTIs? Remember, the UTI describes the type of file—it does not say which app is supposed to open it. That's largely up to the user (although I think there is a way to programmatically change it)