Class

CNPhoneNumber

An immutable object representing a phone number for a contact.

Declaration

class 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

init(stringValue: String)

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

Getting the Phone Number

var stringValue: String

The string value of the phone number.

Getting Phone-Related Keys

let CNContactPhoneNumbersKey: String

A phone numbers of a contact.

Deprecated

Relationships

Inherits From