---
title: DDMatchPhoneNumber
framework: datadetection
role: symbol
role_heading: Class
path: datadetection/ddmatchphonenumber
---

# DDMatchPhoneNumber

An object that contains a phone number that the data detection system matches.

## Declaration

```swift
class DDMatchPhoneNumber
```

## Overview

Overview The DataDetection framework returns a phone number match in a DDMatchPhoneNumber object, which contains a phone number, and optionally a label that categorizes the phone number.

## Topics

### Getting phone information

- [phoneNumber](datadetection/ddmatchphonenumber/phonenumber.md)
- [label](datadetection/ddmatchphonenumber/label.md)

## Relationships

### Inherits From

- [DDMatch](datadetection/ddmatch.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Matched data types

- [DDMatchCalendarEvent](datadetection/ddmatchcalendarevent.md)
- [DDMatchEmailAddress](datadetection/ddmatchemailaddress.md)
- [DDMatchFlightNumber](datadetection/ddmatchflightnumber.md)
- [DDMatchLink](datadetection/ddmatchlink.md)
- [DDMatchMoneyAmount](datadetection/ddmatchmoneyamount.md)
- [DDMatchPostalAddress](datadetection/ddmatchpostaladdress.md)
- [DDMatchShipmentTrackingNumber](datadetection/ddmatchshipmenttrackingnumber.md)
