苹果会接受带有不赞成使用的代码的应用程序吗? [英] Will Apple accept Apps with deprecated code?

查看:59
本文介绍了苹果会接受带有不赞成使用的代码的应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple会接受使用不赞成使用的代码在App Store内销售的Apps吗?

Will Apple accept Apps for selling inside the App-Store with deprecated code?

推荐答案

是.弃用并不意味着不可用或被禁止.如果确实如此,它将被称为其他名称,或者将这些方法简单地从API中删除.

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.

弃用是一种让您知道应该开始转换现有代码库的方式.经验法则应该是:不要 add 您所知道的代码使用了已弃用的功能,这太愚蠢了.请注意,当您在较旧的代码库上工作时,早晚使用的已弃用方法可能会引起您的注意.

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.

继续使用不推荐使用的方法的风险之一是,它们可能比较新的版本更原始,更危险,可能没有考虑到所有当前的操作系统现实,并且随着时间的推移,Apple对其进行的测试可能不够完善.您甚至在从框架中消失之前就冒着被咬的风险.

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.

这篇关于苹果会接受带有不赞成使用的代码的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆