I have a Multimedia App that is for Mac OS X using Xcode.

The languages used are Objective-C, C++ and C.

I want to somehow get my app in the "Open With" contextual menu without having the user do anything. I don't want to "take over" the default association unless the user sets it in the Preferences or takes additional steps.

Any suggestions?

有帮助吗?

解决方案

If you add an entry for the document type you'd like to support to your application's Info.plist it should show up in that menu. The easiest way to do this is to select your target and add the type in the Info tab.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top