Does Apple allow to download OpenGL shaders in iOS game at runtime? [closed]

前提是你 提交于 2019-12-10 17:37:47

问题


I am planning to implement iOS game where certains assets - textures, shaders, etc. are downloaded at runtime when user buys specific in-app purchases . Its well known fact about Apple prohibiting downloading & emitting iOS app code at runtime:

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.

Does this restriction also include Open GL shaders, i.e. can shaders code be downloaded at runtime?


回答1:


Alex and co are correct. Section 2.4 of the agreement states that you may not use the In-App Purchase API to "add any additional executable code" to the app - only data is permitted. They explicitly state that the functionality must be embedded within the app and unlocked by the purchase.

I can see why it would be desirable to add shaders as part of new content though; maybe you should contact Apple directly for a ruling to be certain?



来源:https://stackoverflow.com/questions/9580940/does-apple-allow-to-download-opengl-shaders-in-ios-game-at-runtime

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!