Will Apple accept Apps for selling inside the App-Store with deprecated code?
苹果是否会接受使用弃用代码在App Store中销售的应用程序?
4 个解决方案
#1
33
Yes. Deprecated doesn't mean unavailable or disallowed; if it did, it would be called something else, or those methods would simply be removed from the API.
是。弃用并不意味着不可用或不允许;如果确实如此,它将被称为其他东西,或者只是从API中删除这些方法。
Deprecation is a way of letting you know that you should start transitioning your existing codebase. The rule of thumb should be: don't add code that you know uses deprecated functionality, that's just silly. Be aware as you work on older code bases that deprecated methods you were using may need your attention sooner or later.
弃用是一种让您知道应该开始转换现有代码库的方法。经验法则应该是:不要添加你知道使用过旧功能的代码,这只是愚蠢的。请注意,当您处理较旧的代码库时,您使用的弃用方法迟早会引起您的注意。
One of the risks of continuing to use deprecated methods is that they may be more primitive and dangerous than newer versions, may not take into account all current OS realities, and possibly less well tested by Apple over time. You run the risk of having this bite you even before they vanish from the framework.
继续使用弃用方法的风险之一是它们可能比新版本更原始和危险,可能不会考虑所有当前的操作系统现实,并且可能不太适合Apple测试。即使在它们从框架中消失之前,你也有可能咬住它。
#2
9
Yes, Apple will accept your app assuming everything else goes right. Deprecated doesn't mean the app will not work. It's just a way of telling you that you should start using newer code as opposed to older code. The older code will be removed from the API eventually, so it's better to fix it sooner than to try to build your app and find out that it doesn't work.
是的,Apple会接受您的应用程序,假设其他一切正常。不推荐使用并不意味着应用程序无法运行。这只是一种告诉你应该开始使用较新代码而不是旧代码的方法。旧代码最终将从API中删除,因此最好立即修复它,而不是尝试构建应用程序并发现它不起作用。
#3
5
I've used the following deprecated code (the init method is deprecated):
我使用了以下不推荐使用的代码(不推荐使用init方法):
[[NSDateFormatter alloc] init];
in an app recently that was approved.
在最近批准的应用程序中。
#4
-1
Well... It depends. In most cases probably not, but I don't run the app store so I'm not sure.
这得看情况。在大多数情况下可能没有,但我没有运行应用商店,所以我不确定。
#1
33
Yes. Deprecated doesn't mean unavailable or disallowed; if it did, it would be called something else, or those methods would simply be removed from the API.
是。弃用并不意味着不可用或不允许;如果确实如此,它将被称为其他东西,或者只是从API中删除这些方法。
Deprecation is a way of letting you know that you should start transitioning your existing codebase. The rule of thumb should be: don't add code that you know uses deprecated functionality, that's just silly. Be aware as you work on older code bases that deprecated methods you were using may need your attention sooner or later.
弃用是一种让您知道应该开始转换现有代码库的方法。经验法则应该是:不要添加你知道使用过旧功能的代码,这只是愚蠢的。请注意,当您处理较旧的代码库时,您使用的弃用方法迟早会引起您的注意。
One of the risks of continuing to use deprecated methods is that they may be more primitive and dangerous than newer versions, may not take into account all current OS realities, and possibly less well tested by Apple over time. You run the risk of having this bite you even before they vanish from the framework.
继续使用弃用方法的风险之一是它们可能比新版本更原始和危险,可能不会考虑所有当前的操作系统现实,并且可能不太适合Apple测试。即使在它们从框架中消失之前,你也有可能咬住它。
#2
9
Yes, Apple will accept your app assuming everything else goes right. Deprecated doesn't mean the app will not work. It's just a way of telling you that you should start using newer code as opposed to older code. The older code will be removed from the API eventually, so it's better to fix it sooner than to try to build your app and find out that it doesn't work.
是的,Apple会接受您的应用程序,假设其他一切正常。不推荐使用并不意味着应用程序无法运行。这只是一种告诉你应该开始使用较新代码而不是旧代码的方法。旧代码最终将从API中删除,因此最好立即修复它,而不是尝试构建应用程序并发现它不起作用。
#3
5
I've used the following deprecated code (the init method is deprecated):
我使用了以下不推荐使用的代码(不推荐使用init方法):
[[NSDateFormatter alloc] init];
in an app recently that was approved.
在最近批准的应用程序中。
#4
-1
Well... It depends. In most cases probably not, but I don't run the app store so I'm not sure.
这得看情况。在大多数情况下可能没有,但我没有运行应用商店,所以我不确定。