Closed JoshJuncker closed 2 years ago
Adding the following to info.plist makes it so the app shows up in the list of apps to AirDrop a pdf file to.
<array>
<dict>
<key>CFBundleTypeName</key>
<string>pdf</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>com.adobe.pdf</string>
</array>
</dict>
</array>
iOS supports receiving AirDrop files. It seems that somehow apps can register to be receiving targets of airdrop files.
This feature would add the app to the AirDrop targets as a receiver, and handle received AirDrop files in a similar fashion to handling shared media.
Some Apple documentation. https://developer.apple.com/library/archive/qa/qa1587/_index.html