2011-07-16 8 views
13

私の.plistファイルのCFBundleDocumentTypesプロパティを書き込んで、他のアプリケーションの[Open in ...]ダイアログに表示する方法を教えてください。アプリケーションでCSVを開くコンテンツタイプ/ UTI

鉱山だが、それは

<key>CFBundleDocumentTypes</key> 
<array> 
    <dict> 
     <key>CFBundleTypeIconFiles</key> 
     <array/> 
     <key>CFBundleTypeName</key> 
     <string>Readings</string> 
     <key>LSItemContentTypes</key> 
     <array> 
      <string>text.csv</string> 
     </array> 
    </dict> 
</array> 

答えて

34

動作しないことを発見:public.comma-separated-values-text

+1

Appleの定数は 'kUTTypeCommaSeparatedText'です。 – Thecafremo

関連する問題