【问题标题】:ios cordova, cannot add app in share menuios cordova,无法在共享菜单中添加应用程序
【发布时间】:2016-05-03 14:01:23
【问题描述】:

我尝试关注这个thread,但没有成功。

我的应用图标没有出现在ios的分享菜单中。

您能否确认应用程序安装后立即出现应用程序图标? 有没有办法记录或测试这种行为?

这是我用来生成 Info.plist 的 config.xml 部分(没关系,通过解压缩 ipa 并检查文件来验证):

    <config-file platform="ios" target="*-Info.plist" parent="UIFileSharingEnabled">
        <true />
    </config-file>

    <config-file platform="ios" target="*-Info.plist" parent="CFBundleDocumentTypes">
        <array>
            <dict>
                <key>CFBundleTypeIconFiles</key>
                <array>
                    <string>icon-small</string>
                </array>
                <key>CFBundleTypeName</key>
                <string>AppName</string>
                <key>CFBundleTypeRole</key>
                <string>Viewer</string>
                <key>LSHandlerRank</key>
                <string>Alternate</string>
                <key>LSItemContentTypes</key>
                <array>
                    <string>public.image</string>
                </array>
            </dict>
        </array>
    </config-file>

最好的问候,奥利维尔。

【问题讨论】:

    标签: ios cordova info.plist


    【解决方案1】:

    错误是该应用不会仅出现在照片共享列表中。

    照片应用似乎是原因,而不是 Info.plist 声明。

    如果我找到这个问题的解决方法,我会记录这个答案。

    问候,奥利维尔

    【讨论】:

      猜你喜欢
      • 2017-12-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-19
      相关资源
      最近更新 更多