Class

CNPhoneNumber

An immutable object representing a phone number for a contact.

Declaration

@interface CNPhoneNumber : NSObject

Overview

CNPhoneNumber objects are thread-safe, and you may access their properties from any thread of your app.

Topics

Creating a Phone Number Object

- initWithStringValue:

Returns a new phone number object initialized with the specified phone number string.

+ phoneNumberWithStringValue:

Returns a new phone number object initialized with the specified phone number string.

Getting the Phone Number

stringValue

The string value of the phone number.

Getting Phone-Related Keys

CNContactPhoneNumbersKey

A phone numbers of a contact.

Deprecated

- initDeprecated
+ newDeprecated

Relationships

Inherits From