Recently, I was working on showing my app in "Open in..." menu when opening custom mail attachment (let's say filename-extension is xyz
, and I've declared custom mime-type application/xyz
). I followed guide on this site:
https://developer.apple.com/library/ios/qa/qa1587/_index.html
and my app is now displayed between all other apps, when I tap on corresponding attachment. The problem is in description under my app. Instead of just showing its name (MyApp
) it's shown as Copy to MyApp
.
Is there any way to make my app description not contain Copy to
words?
Your app will always show with "Copy to" using this method and "Open in..". No amount of tweaking the settings will change that.
What you want to do instead is create a Share extension. The steps for that are well documented by Apple. See for example: https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/
A Share extension changes the nature of your app's interaction. Instead of responding to openURL in your app delegate, you create a share extension which deals with (possibly several files) as it sees fit.