<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/MarkupEditViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "c:@M@PaperKit@objc(cs)MarkupEditViewController"
  },
  "title" : "MarkupEditViewController"
}
-->

# MarkupEditViewController

A view controller that manages the interface for inserting content into a canvas.

```
@MainActor @objc @preconcurrency class MarkupEditViewController
```

## Overview

Use `MarkupToolbarViewController` for macOS.

## Topics

### Creating a view controller

[`init(supportedFeatureSet: FeatureSet, additionalActions: [UIMenuElement])`](/documentation/PaperKit/MarkupEditViewController/init(supportedFeatureSet:additionalActions:))

Creates a markup edit view controller.

### Configuring the view controller

[`let supportedFeatureSet: FeatureSet`](/documentation/PaperKit/MarkupEditViewController/supportedFeatureSet)

The supported features of this edit UI.

[`var delegate: (any MarkupEditViewController.Delegate)?`](/documentation/PaperKit/MarkupEditViewController/delegate-swift.property)

The delegate for responding to user actions.

### Responding to changes

[`protocol Delegate`](/documentation/PaperKit/MarkupEditViewController/Delegate-swift.protocol)

### Managing view lifecycle

[`func viewDidLoad()`](/documentation/PaperKit/MarkupEditViewController/viewDidLoad())

## Relationships

### Conforms To

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

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

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

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

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

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

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

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

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

[`NSCoding`](/documentation/Foundation/NSCoding)

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

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

---

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)