<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPrintServiceExtension",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPrintServiceExtension"
  },
  "title" : "UIPrintServiceExtension"
}
-->

# UIPrintServiceExtension

An extension that locates and sets up a printer without a configuration profile.

```
@MainActor class UIPrintServiceExtension
```

## Overview

Support cloud printing by creating an extension instead of requiring users to install a managed configuration profile to set up an AirPrint printer. Create an extension by subclassing `UIPrintServiceExtension`. By creating your own extension, you can expose a cloud printer destination to a [`UIPrinterPickerController`](/documentation/UIKit/UIPrinterPickerController). The extension matches printer destinations that fulfill the specified print-job attributes.

Create an instance of `UIPrinterDestination` to describe a printer to the system. The extension can then search for the printer, or set of printers, using [`printerDestinations(for:)`](/documentation/UIKit/UIPrintServiceExtension/printerDestinations(for:)). This method matches the requirements of a [`UIPrintInfo`](/documentation/UIKit/UIPrintInfo) object and returns an array of [`UIPrinterDestination`](/documentation/UIKit/UIPrinterDestination).

## Topics

### Locating a printer

[`func printerDestinations(for: UIPrintInfo) -> [UIPrinterDestination]`](/documentation/UIKit/UIPrintServiceExtension/printerDestinations(for:))

Searches for a printer destination that matches the print-job attributes.

## See Also

[App extensions](/documentation/UIKit/app-extensions)

Extend your app’s basic functionality to other parts of the system.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)