この記事はAppleのドキュメントで説明しているのと同じことをAppelerator Titaniumでもしたいのですが。私はAppceleratorのウェブサイトを検索し、方法を見つけませんでした。誰でも知っている?Open in ...メニューにアプリケーションを表示するにはどうしたらいいですか? Appcelerator
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ios>
<plist>
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Add to Housters</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.adobe.pdf</string>
<string>com.microsoft.word.doc</string>
</array>
</dict>
</array>
</dict>
</plist>
</ios>
</ti:app>
次に、アプリケーションのコード、resume
イベントが発生するたびに(例えば、Ti.App.addEventListener('resume', resume);
に:あなたはあなたのtiapp.xml
で処理できるようにしたいファイルを登録する必要があり https://developer.apple.com/library/content/qa/qa1587/_index.html
ありがとう、あなたのアプリケーションをjpg、png、およびgifでタイプを変更して、それを完全に動作させてくれてありがとうございました。 –
良い!それは、特にファイルの 'Inbox'を見ることについての少し、把握するべき熊でした。 (私はそれがとてもうまくいっているので、それが推奨される練習であるかどうか見て怖いです!) –