4

我计划实现 iOS 游戏,当用户购买特定的应用内购买时,会在运行时下载某些资产 - 纹理、着色器等。关于 Apple 禁止在运行时下载和发出 iOS 应用程序代码的众所周知的事实:

3.3.2 An Application may not download or install executable code. Interpreted code may only
be used in an Application if all scripts, code and interpreters are packaged in the    Application and
not downloaded. The only exception to the foregoing is scripts and code downloaded and run by
Apple's built-in WebKit framework.

此限制是否还包括 Open GL 着色器,即可以在运行时下载着色器代码吗?

4

1 回答 1

2

亚历克斯和同事是正确的。协议第 2.4 节规定,您不得使用应用内购买 API 向应用“添加任何额外的可执行代码”——仅允许数据。他们明确声明该功能必须嵌入应用程序并通过购买解锁。

我可以理解为什么将着色器添加为新内容的一部分是可取的;也许您应该直接联系 Apple 以获得确定的裁决?

于 2012-03-06T11:24:38.760 回答