I would like my app to appear in the UIActivityViewController
for text, in other apps. For example, when sharing from the Notes app as shown below.
Adding the following to the Info.plist didn't produce any visible results (in Notes, Evernote and Simplenote):
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array>
<string>icon-text-57.png</string>
<string>icon-text-72.png</string>
<string>icon-text-114.png</string>
</array>
<key>CFBundleTypeName</key>
<string>Text</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.text</string>
<string>public.plain-text</string>
<string>public.utf8-plain-text</string>
<string>public.utf16-external-plain-text</string>
<string>public.utf16-plain-text</string>
<string>public.rtf</string>
</array>
</dict>
</array>
Is this possible? How?
UIActivityViewController
, on the second row of icons. I'd like my app to appear alongside it, and it does with aUIDocumentInteractionController
, but not alongside Dropbox in aUIActivityViewController
. – Retrogradation