swift – Extend iOS context menu system wide


I want to add an entry to the system wide context menu of iOS that is opening when a user selects text. The new entry should appear next to copy, cut etc. and should then be sent to my app. In android you would define an Intent-Filter for that:

<activity
    android:name=".ProcessTextActivity"
    android:label="@string/process_text_action_name">
  <intent-filter>
    <action android:name="android.intent.action.PROCESS_TEXT" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="text/plain" />
  </intent-filter>
</activity>

Is that also possible with swift an iOS 17?

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img