iphone – Apple是否允许在运行时在iOS游戏中下载OpenGL着色器?

我计划实现iOS游戏,当用户购买特定的应用内购买时,在运行时下载某些资产 – 纹理,着色器等.

众所周知的事实是关于苹果禁止下载&在运行时发出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着色器,即可以在运行时下载着色器代码?

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

我可以看到为什么最好添加着色器作为新内容的一部分;也许你应该直接联系Apple以获得一定的裁决?

点赞