如何使我们的应用程序可见,以便在iOS应用程序中导入项目或复制?
我需要在任何共享活动中显示我的应用程序,用户可以将照片/图像复制或导入到我的应用程序中 我试图在plist中添加一些键如何使我们的应用程序可见,以便在iOS应用程序中导入项目或复制?,ios,swift,Ios,Swift,我需要在任何共享活动中显示我的应用程序,用户可以将照片/图像复制或导入到我的应用程序中 我试图在plist中添加一些键 <array> <dict> <key>CFBundleTypeName</key> <string>PDF Document</string> <key>CFBundleTypeRole</key&g
<array>
<dict>
<key>CFBundleTypeName</key>
<string>PDF Document</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>com.adobe.pdf</string>
<string>public.data</string>
<string>public.content</string>
</array>
</dict>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>Images</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.image</string>
<string>public.jpeg</string>
</array>
</dict>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>text</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.plain-text</string>
</array>
</dict>
</array>
您需要设置应用程序的文档类型(CbundleDocumentTypes)。