0

How do I register my application to be the default application to open "aidelicense" files? I'm using the AquaticPrime Framework and the AquaticPrime Developer application to make licenses.

Thanks!

4

1 に答える 1

1

ドキュメントベースのアーキテクチャについて理解する必要があるようです。

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Documents/Documents.html#//apple_ref/doc/uid/10000006-BAJJJHEG

特に、アプリケーションの.plistファイルで定義する必要がありCFBundleDocumentTypesます。そうすると、ユーザーが.appバンドルに遭遇したとき、たとえばユーザーが/ Applicationsにドラッグしたときや、アイコンをドックにドラッグしたときなど、Finderは関連付けを魔法のように認識します。

于 2010-11-14T12:54:57.793 に答える