gpt4 book ai didi

java - Mac App Store 是否允许应用程序使用非 Apple Java 运行时?

转载 作者:行者123 更新时间:2023-11-30 05:09:21 25 4
gpt4 key购买 nike

Apple 的新 Mac App Store 指南指出,您不能使用已弃用的库,例如 Apple 的 Java 框架。但Apple是否会允许带有第三方Java运行时的应用程序,例如SoyLatte

最佳答案

是的,前提是运行应用程序所需的一切都是应用程序包的一部分,并且您的 UI 外观和行为完全是原生的。您不得依赖用户已经安装了可选或已弃用的技术(库、运行时或您拥有的其他技术)。

具体来说,最有可能相关的规则state (PDF) :

2. Functionality

2.22 Apps must contain all language support in a single app bundle (single binary multiple language)

2.24 Apps that use deprecated or optionally installed technologies (e.g., Java, Rosetta) will be rejected

6. User Interface

6.3 Apps that do not use system provided items, such as buttons and icons, correctly and as described in the Apple Macintosh Human Interface Guidelines will be rejected6.5 Apps that change the native user interface elements or behaviors of Mac OS X will be rejected

综合起来,引用的两个功能规则似乎表明您可以自由使用第三方 Java 运行时,前提是您的应用程序包中包含运行应用程序所需的所有内容。

用户界面规则将禁止所有 native UI 小部件的最完美模拟之外的任何模拟。实际上,您需要某种方法来从 Java 应用程序使用 native UI 小部件。例如,Eclipse 的标准窗口小部件工具包可能满足 UI 要求。

关于java - Mac App Store 是否允许应用程序使用非 Apple Java 运行时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3991824/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com