iOS 9 | Contacts framework

半腔热情 提交于 2019-12-22 14:06:38

问题


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.

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

Is my understanding correct here?


回答1:


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.

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.

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.



来源:https://stackoverflow.com/questions/32865313/ios-9-contacts-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!