Is there a way to programmatically access and modify the core data of the iphone?
I'm making an app for myself, not for the apple store, and I want to be able to access my list of contacts (to delete it) and the list of messages (also to delete it).
I want to make an application with the same behaviour has that feature which allows you to block the iphone in case of theft.
It's being hard to find information about this so any help would be 开发者_如何学Gonice :)
/thanks
That's not a particularly helpful answer, because it implies ABAddressBook is going to give you all of the information you want (it isn't). ABAddressBook will give you access to contacts. It won't give you access to messages. Access to SMS and email messages isn't available to developers, for various reasons (privacy, security, etc). So you won't be able to do anything with users messages, because you don't have access to them.
For contact info, use ABAddressBook
精彩评论