I m working on a video sharing application that can load plugins that share to different places (Youtube, Twitvid, Facebook, etc.) I have a plugin that reads in a custom file type. We ll call it a .foo file with some information about the video being shared. So I put this foo UTI type in the imported UTI type section of the plugin bundle s Info.plist.
如果我正确理解,发射服务处就通过Info.plist,并在开放时登记进口和出口的UTI型仪器。
How can I get launch services to register my custom UTI types when it loads the plugin? Is there an api call I can make to have the plugin register those itself?