[英]Saving contact to sim card programmatically in iOS7
Can we save contact to sim card programmatically in iOS7. 我们可以在iOS7中以编程方式将联系人保存到SIM卡吗? i Google it a lot but didn't find any topic. 我在Google上搜索了很多,但没有找到任何话题。
Not possible. 不可能。 The closest you will get to that is using the Address book framework. 您将最接近使用地址簿框架。 https://developer.apple.com/library/ios/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Introduction.html#//apple_ref/doc/uid/TP40007744 https://developer.apple.com/library/ios/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Introduction.html#//apple_ref/doc/uid/TP40007744
There isn't a way to do this, at least a normal way that won't get your app rejected. 没有办法做到这一点,至少是不会让您的应用程序被拒绝的正常方法。 Why do you want to do this? 为什么要这样做? Contact lists on newer devices are never saved on sim cards anymore generally, and instead transferred using web services (such as iCloud and Google). 较新设备上的联系人列表通常不再保存在sim卡上,而是使用网络服务(例如iCloud和Google)进行转移。
You cant do that . 你不能那样做。 AddressBook Api is for accessing (read/write) the contacts which stored in iPhone . AddressBook Api用于访问(读/写)存储在iPhone中的联系人。 There is no way to access the sim contacts at least by using the public APIs. 至少没有使用公共API不能访问sim联系人。
ref : http://iphonedevsdk.com/forum/iphone-sdk-development/47463-get-contacts-from-sim-card.html 参考: http : //iphonedevsdk.com/forum/iphone-sdk-development/47463-get-contacts-from-sim-card.html
No way to do this,in both code and in physical device. 在代码和物理设备中都无法做到这一点。
https://discussions.apple.com/message/22396506#22396506 https://discussions.apple.com/message/22396506#22396506
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.