is it possible to access the phone settings of an iOS Device programmatically? I'm currently building an app and there I will provide contact possibillities, for example a direct link for calling (you just push it and then the specific contact number is called).

But I only want to show that possibility, if the user isn't calling with an unknown number.

有帮助吗?

解决方案

You can access the contacts stored in the phone using the Address Book framework. If you're unfamiliar with the framework, I suggest you take a look at this quick start tutorial.

EDIT It seems you wish to read the state of the Show My Caller ID system setting, however you cannot programmatically access the system settings.

其他提示

Use ABAddressBook for getting contact details in your project...

see this

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top