문제

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