iOS 9 |联系人框架 [英] iOS 9 | Contacts framework

查看:111
本文介绍了iOS 9 |联系人框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用 ABAddressBook框架作为联系人的iOS 8应用程序。在iOS 9中,引入了 Contacts框架代替了 ABAddressBook

I have app designed for the iOS 8 using the ABAddressBook framework for the contact. In iOS 9 the Contacts framework is introduced in place of ABAddressBook.

要检查此更改的效果,我检查了iOS 9设备,一切正常。

To check the effect of this change I checked in the iOS 9 device and everything is working fine.

我的理解在这里正确吗?

Is my understanding correct here?

推荐答案

每当API /框架被弃用时,它表示将来某个时候苹果将完全停止支持该API。这表示开发人员应该尽快使用新的API。

Whenever an API/Framework is mentioned as Deprecated it indicates that sometime in future Apple will completely stop supporting the API's. This indicates the developers should move to the new API's soon.

在您的情况下,AddressBook框架被认为已从iOS9弃用,因此Apple允许从现在开始使用这些框架。直到iOS10),但这取决于苹果何时完全停止。

In your case AddressBook Framework is considered as deprecated from iOS9 so Apple will allow these frameworks as of now(may be till iOS10) but that depends on Apple when to stop it completely.

苹果通常会在主要版本发布后停止支持已弃用的API,但在某些情况下,已弃用的API在许多主要版本中仍然存在。

Usually Apple stop supporting the deprecated API after a major release but there are also cases where the deprecated API's survived many major releases.

我的建议是尽快移至联系人框架。

My suggestion would be move to the Contacts Framework soon.

这篇关于iOS 9 |联系人框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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