0
我设法让我的应用程序通过电子邮件将其数据库副本发送给我自己,但现在当我尝试重新打开它时,它说“在我的应用程序中打开”,但什么都不做。这就是我在我的info.plist无法在电子邮件中打开应用程序中的文件
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>com.darcapps.myapp.lb</string>
<key>UTTypeDescription</key>
<string>myapp backup</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>lb</string>
<key>public.mime-type</key>
<string>application/myapp</string>
</dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>myapp backup</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>com.darcapps.myapp.lb</string>
</array>
</dict>
</array>
我不是肯定是<string>com.mycompany.myapp.extName</string>
我是不是要在任何地方设置这些其他的事情?例如,我必须在任何地方设置一个设置,告诉它我的应用程序是什么以及我的公司是什么? 谢谢