【发布时间】:2012-03-23 18:26:42
【问题描述】:
我计划实现 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 着色器,即能否在运行时下载着色器代码?
【问题讨论】:
-
只有在用户购买了 InAppPurchases 之一后,您才能始终使用“免费”版本的应用程序交付所有内容并解锁某些功能。
-
亚历克斯是对的。而且以这种方式实现一切都更容易。
-
+1 给亚历克斯。想一想这种情况:用户购买了内容,但下载失败(例如某些技术原因)。我敢肯定他会做的第一件事——打开 Appstore 并降级你的游戏 :)
-
贴图应该没问题,那只是一张位图……但是为什么要下载着色器而不是在代码中实现它们并发布它们呢?我无法想象你会在一天之内实现新的着色器......
-
我投票决定将此问题作为离题结束,因为它是关于许可或法律问题,而不是编程或软件开发。 See here 了解详情,help center 了解更多信息。
标签: iphone ios licensing restrictions