4
我打算实施iOS游戏,当用户购买特定的应用程序内购买时,会在运行时下载某些资产 - 纹理,着色器等。 其众所周知的事实有关苹果禁止下载&在运行时发出iOS应用代码:Apple允许在运行时在iOS游戏中下载OpenGL着色器吗?
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的着色器,即可以着色器代码在运行时下载?
您可以随时使用“免费”版本的应用发布所有内容,并且只有在用户购买了其中一个InAppPurchases后才能解锁某些功能。 – alex 2012-03-06 09:31:54
Alex是对的。而且以这种方式实现一切都更容易。 – 2012-03-06 09:42:59
+1给Alex。想想这种情况:用户购买内容,但下载失败(例如有一些技术原因)。我敢肯定,他会做的第一步 - 打开Appstore并降低游戏速度:) – brigadir 2012-03-06 10:27:50