Apple 文档中有关 iOS 可用性的信息不足?
这不是一个程序性问题,但是...... 我以 NSArray Class Reference 为例。我没有看到任何 iOS 版本,只看到“在 Mac OS X v10.0 及更高版本中可用”。等等。我如何找出哪些版本的方法可以在iOS中使用?
为 iOS 4.0 及更高版本制作应用程序安全吗?我假设大多数 iPhone 用户都拥有 iOS 4.0 或更高版本。
It is not a programatic question, but ...
I take NSArray Class Reference as an instance. I don't see any iOS version, only "Available in Mac OS X v10.0 and later." etc. How do I find out which version methods can work in iOS?
Is it safe to make apps for iOS 4.0 and above? As I assume most of iPhone-owners have iOS 4.0 or above.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您似乎正在查看 Mac 文档。 iOS NSArray 文档列出 iOS 兼容性。
但是,是的,4 及以上对于您的应用程序来说是一个非常安全的范围。
(提示:如果您以某种方式最终进入了文档的错误分支,您只需将 URL 中的“mac”替换为“ios”,反之亦然即可在它们之间进行切换。)
(关于提示的免责声明我刚刚给出:至少对于苹果公司当前的 URL 结构来说,这是事实,他们更改 URL 的频率比大多数人清洁牙齿的频率都要高,所以如果你将来读到这篇文章并且它不起作用,只需发表评论即可。我要买它出。)
You appear to be looking at the Mac documentation. The iOS NSArray docs list iOS compatibility.
But yes, 4 and above is a pretty safe range for your app.
(TIP: If you somehow end up in the wrong branch of the documentation, you can just replace the "mac" in the URL with "ios" and vice-versa to switch between them.)
(DISCLAIMER ON THE TIP I JUST GAVE: That is true at least with Apple's current URL structure. They change their URLs more often than most people get their teeth cleaned, so if you're reading this in the future and it doesn't work, just leave a comment and I'll take it out.)