<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPasteboardDetectionPatternFlightNumber",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIPasteboardDetectionPatternFlightNumber"
  },
  "title" : "UIPasteboardDetectionPatternFlightNumber"
}
-->

# UIPasteboardDetectionPatternFlightNumber

A pattern that indicates the pasteboard detects a string that contains a flight number.

```
extern UIPasteboardDetectionPattern const UIPasteboardDetectionPatternFlightNumber;
```

## Discussion

When you include this pattern in calls to [`detectValuesForPatterns:inItemSet:completionHandler:`](/documentation/UIKit/UIPasteboard/detectValuesForPatterns:inItemSet:completionHandler:) or [`detectValuesForPatterns:completionHandler:`](/documentation/UIKit/UIPasteboard/detectValuesForPatterns:completionHandler:) and the pasteboard detects a string that contains a flight number, the system reports the value as an array of <doc://com.apple.documentation/documentation/Foundation/NSString>. You can return the detected results in a paste operation with `UIPasteboardDetectionResultFlightNumber`, which contains a semantic representation of the flight number and airline carrier values.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)