CoreTelephony.framework: Difference between revisions

From iPhone Development Wiki
(Added the classes navbox.)
(Added notes about entitlements.)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| since = 1.0
| since = 1.0
}}
}}
'''CoreTelephony''' is a public framework that manages telephony related tasks on iOS. It can be used as a frontend to communicate with [http://theiphonewiki.com/wiki//System/Library/Frameworks/CoreTelephony.Framework/Support/CommCenter CommCenter] which talks to the baseband directly. The public portion is only a tiny part of the whole framework.
== iOS 7 Entitlements ==
On iOS 7, Apple implemented additional security to ensure that applications cannot maliciously access a user's phone number. To do so, they have added the following entitlements:
* '''com.apple.coretelephony.Identity.get''': Needed to use the ''CTSettingCopyMyPhoneNumber'' or ''CTSettingCopyMyPhoneNumberExtended'' functions.
* '''com.apple.coretelephony.Calls.allow'''
* '''com.apple.coretelephony.CTVoiceSupport.allow'''
* '''com.apple.coretelephony.CTCarrierSettings.allow'''


'''CoreTelephony''' is a public framework that manages telephony related tasks on iOS. It can be used as a frontend to communicate with the baseband. The public portion is only a tiny part of the whole framework.


{{Navbox Classes}}
{{Navbox Classes}}
{{Navbox Frameworks}}
{{Navbox Frameworks}}

Latest revision as of 20:42, 23 January 2014

CoreTelephony.framework
Public Framework
Availabile 1.0 – present
Headers [headers.cynder.me]

CoreTelephony is a public framework that manages telephony related tasks on iOS. It can be used as a frontend to communicate with CommCenter which talks to the baseband directly. The public portion is only a tiny part of the whole framework.


iOS 7 Entitlements

On iOS 7, Apple implemented additional security to ensure that applications cannot maliciously access a user's phone number. To do so, they have added the following entitlements:

  • com.apple.coretelephony.Identity.get: Needed to use the CTSettingCopyMyPhoneNumber or CTSettingCopyMyPhoneNumberExtended functions.
  • com.apple.coretelephony.Calls.allow
  • com.apple.coretelephony.CTVoiceSupport.allow
  • com.apple.coretelephony.CTCarrierSettings.allow